chore(db): refactor
This commit is contained in:
parent
ac1b63fcde
commit
72b9beb170
|
@ -1,3 +1,7 @@
|
|||
CREATE SCHEMA IF NOT EXISTS :schema;
|
||||
CREATE SCHEMA IF NOT EXISTS :schema_gtfs;
|
||||
SET search_path to :schema, :schema_gtfs, public;
|
||||
|
||||
DROP TABLE IF EXISTS :schema.tbl_gtfs_stops_de_not_dhid_refine;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS :schema.tbl_gtfs_stops_de_not_dhid_refine AS SELECT * FROM :schema.tbl_gtfs_stops_de_not_dhid;
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
DROP SCHEMA IF EXISTS :schema CASCADE;
|
||||
|
||||
CREATE SCHEMA IF NOT EXISTS :schema;
|
||||
CREATE SCHEMA IF NOT EXISTS :schema_gtfs;
|
||||
SET search_path to :schema, :schema_gtfs, public;
|
||||
|
||||
---get subset of stops in Germany and its states
|
||||
|
|
Loading…
Reference in New Issue