]> git.openstreetmap.org Git - rails.git/blobdiff - lib/migrate.rb
last of the auto_increments removed from the migrations
[rails.git] / lib / migrate.rb
index 26e95a496264142d2414e63a199c300942142154..77bc93646d0eef922d958973e4acd8481df69c79 100644 (file)
@@ -44,6 +44,11 @@ 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[:bigint_pk_64] = { :name => "bigint(64) DEFAULT NULL auto_increment PRIMARY KEY" }
+        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
       end