fix(db): make sql scripts consistent

This commit is contained in:
dancingCycle 2023-07-31 17:04:32 +02:00
parent 82a9c1b0e0
commit b7dd7362e3
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,