Change bigint id column to monkeypatching-friendly syntax

This commit is contained in:
Andy Allan 2008-11-08 11:01:39 +00:00
parent 67a50e848c
commit e598ee220f
2 changed files with 2 additions and 6 deletions

View file

@ -44,6 +44,7 @@ module ActiveRecord
types = old_native_database_types
types[:bigint] = { :name => "bigint", :limit => 20 }
types[:double] = { :name => "double" }
types[:bigint_pk] = { :name => "bigint(20) DEFAULT NULL auto_increment PRIMARY KEY" }
types
end