X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c19d1b406b149040a37ef22f4f14eeddc29cf0ea..7c791f302c68be7110deabe73d7c8db97d1d13ef:/db/migrate/001_create_osm_db.rb diff --git a/db/migrate/001_create_osm_db.rb b/db/migrate/001_create_osm_db.rb index 998e12951..3e3377921 100644 --- a/db/migrate/001_create_osm_db.rb +++ b/db/migrate/001_create_osm_db.rb @@ -50,7 +50,7 @@ class CreateOsmDb < ActiveRecord::Migration end add_index "current_way_tags", ["id"], :name => "current_way_tags_id_idx" - execute "CREATE FULLTEXT INDEX `current_way_tags_v_idx` ON `current_way_tags` (`v`)" + add_fulltext_index "current_way_tags", "v" create_table "current_ways", myisam_table do |t| t.column "id", :bigint_pk_64, :null => false