From: Shaun McDonald Date: Wed, 5 Nov 2008 18:42:38 +0000 (+0000) Subject: Fixing the migration so that it will better match the live databetter. X-Git-Tag: live~7557^2~223 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/ee1da786493f8e0ea330195e17361bcb4a97efb7 Fixing the migration so that it will better match the live databetter. --- diff --git a/db/migrate/001_create_osm_db.rb b/db/migrate/001_create_osm_db.rb index 0117c853e..689ca3c20 100644 --- a/db/migrate/001_create_osm_db.rb +++ b/db/migrate/001_create_osm_db.rb @@ -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