Using other MySQL Storage Engines

Try


create_table(:suppliers, :options => 'ENGINE=InnoDB DEFAULT CHARSET=utf8')
if you need to make a table with a different storage engine than default on MySQL. Note that this will bind your migration to MySQL, as it simply appends whatever is in the :options string to the end of the CREATE_TABLE generated by the migration.


About this entry