David C. <dcorbin@…> writes:
It appears that you cannot use migrations (out of the box) with mysql 4.0.16,
because when creating a table, the statement says “ENGINE=InnoDb”, instead of
Looking at the source code for the adapter, this appears to be hard coded. Is
there any supported way to make this work with older versions of MySQL?
create_table(:mytable, :options => ‘TYPE=InnoDB’) do |t|
t.column :name, :string, :limit => 50
One warning, however…The schema dumper may not honor this option when
your table back out into schema.rb.
This doesn’t prevent you from using migrations, but you just need to be