Closed rudolph-miller closed 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.
:type bool
tinyint
boolean
If you set
:type bool
, and migrate the table, then in schema of table in mysql or sqlite3 the type of the column istinyint
. When you remigrate the table, it creates alter table to modify column type toboolean
.