X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/67a50e848c8d9998a88d153429ae9d1ae25d3baf..e598ee220f30bbe4b6033d087e25a8fee0bcebe2:/lib/migrate.rb diff --git a/lib/migrate.rb b/lib/migrate.rb index 26e95a496..68ff04615 100644 --- a/lib/migrate.rb +++ b/lib/migrate.rb @@ -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