remove indexes before renaming tables (some dbs have database-level index namespaces) and unsigned is also a mysqlism
This commit is contained in:
parent
2aa3daf0e0
commit
4adeeb51ad
4 changed files with 10 additions and 3 deletions
|
@ -49,6 +49,7 @@ module ActiveRecord
|
|||
types[:bigint_auto_64] = { :name => "bigint(64) DEFAULT NULL auto_increment" }
|
||||
types[:bigint_auto_11] = { :name => "bigint(11) DEFAULT NULL auto_increment" }
|
||||
types[:bigint_auto_20] = { :name => "bigint(20) DEFAULT NULL auto_increment" }
|
||||
types[:four_byte_unsigned] = { :name=> "integer unsigned NOT NULL" }
|
||||
types
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue