move fulltext indexes to monkeypatch, since not all dbs have a fulltext analogue
This commit is contained in:
parent
91374368fa
commit
550ce43250
3 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -24,7 +24,7 @@ class AddRelations < ActiveRecord::Migration
|
|||
end
|
||||
|
||||
add_index "current_relation_tags", ["id"], :name => "current_relation_tags_id_idx"
|
||||
execute "CREATE FULLTEXT INDEX `current_relation_tags_v_idx` ON `current_relation_tags` (`v`)"
|
||||
add_fulltext_index "current_relation_tags", "v"
|
||||
|
||||
create_table "current_relations", innodb_table do |t|
|
||||
t.column "id", :bigint_pk_64, :null => false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue