fix(chore): we do not need to DROP VIEW or DROP TABLE if we DROP SCHEMA in advance
This commit is contained in:
parent
2be4def296
commit
16265d42b2
|
@ -4,20 +4,6 @@ DROP SCHEMA IF EXISTS :schema CASCADE;
|
|||
CREATE SCHEMA IF NOT EXISTS :schema;
|
||||
SET search_path to :schema, public;
|
||||
|
||||
---drop views
|
||||
DROP VIEW IF EXISTS :schema.vw_gtfs_stops_de_not_dhid CASCADE;
|
||||
DROP VIEW IF EXISTS :schema.vw_gtfs_stops_de CASCADE;
|
||||
DROP VIEW IF EXISTS :schema.vw_gtfs_stops_de_hb CASCADE;
|
||||
DROP VIEW IF EXISTS :schema.vw_gtfs_stops_de_hh CASCADE;
|
||||
DROP VIEW IF EXISTS :schema.vw_gtfs_stops_de_ni CASCADE;
|
||||
|
||||
---drop tables
|
||||
DROP TABLE IF EXISTS :schema.tbl_gtfs_stops_de_not_dhid;
|
||||
DROP TABLE IF EXISTS :schema.tbl_gtfs_stops_de;
|
||||
DROP TABLE IF EXISTS :schema.tbl_gtfs_stops_hb;
|
||||
DROP TABLE IF EXISTS :schema.tbl_gtfs_stops_hh;
|
||||
DROP TABLE IF EXISTS :schema.tbl_gtfs_stops_ni;
|
||||
|
||||
---get subset of stops in Germany and its states
|
||||
|
||||
---create views
|
||||
|
|
Loading…
Reference in New Issue