Make sure to drop base tables (and cascade)
This commit is contained in:
parent
710919cecd
commit
43f3f4c27e
@ -1,10 +1,10 @@
|
|||||||
-- Drop all tables
|
-- Drop all tables
|
||||||
ALTER TABLE buildings DROP COLUMN IF EXISTS revision_id;
|
DROP TABLE IF EXISTS logs CASCADE;
|
||||||
DROP TABLE IF EXISTS logs;
|
DROP TABLE IF EXISTS users CASCADE;
|
||||||
DROP TABLE IF EXISTS users;
|
|
||||||
DROP TABLE IF EXISTS user_sessions;
|
DROP TABLE IF EXISTS user_sessions;
|
||||||
DROP TABLE IF EXISTS user_categories;
|
DROP TABLE IF EXISTS user_categories;
|
||||||
DROP TABLE IF EXISTS user_access_levels;
|
DROP TABLE IF EXISTS user_access_levels;
|
||||||
DROP TABLE IF EXISTS building_properties;
|
DROP TABLE IF EXISTS building_properties;
|
||||||
DROP TABLE IF EXISTS buildings;
|
DROP TABLE IF EXISTS buildings CASCADE;
|
||||||
DROP TABLE IF EXISTS geometries;
|
DROP TABLE IF EXISTS geometries CASCADE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user