X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cf304fe60f05f48251a480d19ce3ea9440f8a10e..c6592045c482d9086d5db6ebab87db49aa85cefa:/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