fukamachi / integral

[OBSOLETE] Use Mito instead.
https://github.com/fukamachi/mito
BSD 3-Clause "New" or "Revised" License
54 stars 3 forks source link

make-migration-sql does not handle boolean in mysql and sqlite3 #19

Closed rudolph-miller closed 9 years ago

rudolph-miller commented 9 years ago

If you set :type bool, and migrate the table, then in schema of table in mysql or sqlite3 the type of the column is tinyint. When you remigrate the table, it creates alter table to modify column type to boolean.