1 DROP TABLE IF EXISTS word;
4 word_token text NOT NULL,
8 country_code varchar(2),
9 search_name_count INTEGER,
11 ) {{db.tablespace.search_data}};
13 CREATE INDEX idx_word_word_token ON word
14 USING BTREE (word_token) {{db.tablespace.search_index}};
15 CREATE INDEX idx_word_word ON word
16 USING BTREE (word) {{db.tablespace.search_index}} WHERE word is not null;
17 GRANT SELECT ON word TO "{{config.DATABASE_WEBUSER}}";
19 DROP SEQUENCE IF EXISTS seq_word;
20 CREATE SEQUENCE seq_word start 1;
21 GRANT SELECT ON seq_word to "{{config.DATABASE_WEBUSER}}";