fix(db): make sql scripts consistent
This commit is contained in:
parent
82a9c1b0e0
commit
b7dd7362e3
|
@ -6,7 +6,7 @@ DROP TABLE IF EXISTS :schema.tbl_sale_points;
|
|||
DROP VIEW IF EXISTS :schema.vw_sale_points;
|
||||
|
||||
CREATE OR REPLACE VIEW :schema.vw_sale_points AS
|
||||
SELECT entity.osm_id, entity.sale_points, entity.name, entity.st_x, entity.st_y
|
||||
SELECT entity.osm_id, entity.amenity, entity.name, entity.st_x, entity.st_y
|
||||
FROM (
|
||||
--planet_osm_point/node
|
||||
SELECT osmNode.osm_id, osmNode.amenity, osmNode.name,
|
||||
|
|
|
@ -6,7 +6,7 @@ DROP TABLE IF EXISTS :schema.tbl_sale_points;
|
|||
DROP VIEW IF EXISTS :schema.vw_sale_points;
|
||||
|
||||
CREATE OR REPLACE VIEW :schema.vw_sale_points AS
|
||||
SELECT entity.osm_id, entity.sale_points, entity.name, entity.st_x, entity.st_y
|
||||
SELECT entity.osm_id, entity."tickets:public_transport", entity.name, entity.st_x, entity.st_y
|
||||
FROM (
|
||||
--planet_osm_point/node
|
||||
SELECT osmNode.osm_id, osmNode."tickets:public_transport", osmNode.name,
|
||||
|
|
Loading…
Reference in New Issue