This project is archived and is in readonly mode.
create_table with options hash
-
Clemens Kofler
- Tag changed from migrations, patch, tested to activerecord, migrations, patch, tests
I think this would be a bad idea because this way you can't specify stuff that isn't in the key=value format like e.g. partition options. Look at the CREATE TABLE docs for MySQL for example.
What you could probabably do instead is have a Regexp that checks if the ENGINE option is set and otherwise default it to InnoDB.
-
josh
- State changed from new to wontfix