I am trying to setup a rails 3 application on mysql cluster. I am noticing that whenever I create tables with rake db:create or rake db:migrate, the tables are created with engine=InnoDb. Since I am using MySQL cluster, this is problematic. I have to create tables with engine=NDB. I was wondering what would be the best way to modify the rake db:create and rake db:migrate logic so that it creates tables with engine=NDB instead.
Thanks/