]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/001_create_osm_db.rb
Change bigint id column to monkeypatching-friendly syntax
[rails.git] / db / migrate / 001_create_osm_db.rb
index 0117c853edb74522c4f1fc296c80c9cc2acac594..689ca3c209986638319ba6a2b26d6a5be2e23f30 100644 (file)
@@ -110,7 +110,7 @@ class CreateOsmDb < ActiveRecord::Migration
     add_primary_key "gpx_file_tags", ["id"]
     add_index "gpx_file_tags", ["gpx_id"], :name => "gpx_file_tags_gpxid_idx"
 
-    change_column "gpx_file_tags", "id", :bigint, :limit => 20, :null => false, :options => "AUTO_INCREMENT"
+    change_column "gpx_file_tags", "id", :integer, :null => false, :options => "AUTO_INCREMENT"
 
     create_table "gpx_files", myisam_table do |t|
       t.column "id",          :bigint,   :limit => 64,                   :null => false