-DROP TABLE IF EXISTS location_road_-partition-;
-CREATE TABLE location_road_-partition- (
- place_id BIGINT,
- partition SMALLINT,
- country_code VARCHAR(2),
- geometry GEOMETRY(Geometry, 4326)
- ) {ts:address-data};
-CREATE INDEX idx_location_road_-partition-_geometry ON location_road_-partition- USING GIST (geometry) {ts:address-index};
-CREATE INDEX idx_location_road_-partition-_place_id ON location_road_-partition- USING BTREE (place_id) {ts:address-index};
+ DROP TABLE IF EXISTS location_road_{{ partition }};
+ CREATE TABLE location_road_{{ partition }} (
+ place_id BIGINT,
+ partition SMALLINT,
+ country_code VARCHAR(2),
+ geometry GEOMETRY(Geometry, 4326)
+ ) {{db.tablespace.address_data}};
+ CREATE INDEX idx_location_road_{{ partition }}_geometry ON location_road_{{ partition }} USING GIST (geometry) {{db.tablespace.address_index}};
+ CREATE INDEX idx_location_road_{{ partition }}_place_id ON location_road_{{ partition }} USING BTREE (place_id) {{db.tablespace.address_index}};