moved indexes and triggers to repo

This commit is contained in:
andrewxhill
2014-08-05 12:55:56 -04:00
parent a45d8776f1
commit e7086d0507
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
-- create indexes on synonyms table
CREATE INDEX idx_admin0_synonyms_name_ ON admin0_synonyms (name_);
CREATE INDEX idx_admin0_synonyms_rank ON admin0_synonyms (rank);
CREATE INDEX idx_admin0_synonyms_name_rank ON admin0_synonyms (name_, rank);
-- create indexes on polygon table
CREATE INDEX idx_ne_admin0_v3_adm0_a3 ON ne_admin0_v3 (adm0_a3);