From 0028ee3278cd274565e1a9459337835aa4bafb06 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 26 Dec 2018 15:15:27 -0800 Subject: sql: table deletion updates --- rust/migrations/2018-05-12-001226_init/down.sql | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'rust/migrations') diff --git a/rust/migrations/2018-05-12-001226_init/down.sql b/rust/migrations/2018-05-12-001226_init/down.sql index 3f796db6..d156370e 100644 --- a/rust/migrations/2018-05-12-001226_init/down.sql +++ b/rust/migrations/2018-05-12-001226_init/down.sql @@ -3,7 +3,9 @@ DROP TABLE IF EXISTS release_contrib CASCADE; DROP TABLE IF EXISTS release_ref CASCADE; -DROP TABLE IF EXISTS file_release CASCADE; +DROP TABLE IF EXISTS file_rev_release CASCADE; +DROP TABLE IF EXISTS fileset_rev_release CASCADE; +DROP TABLE IF EXISTS webcapture_rev_release CASCADE; DROP TABLE IF EXISTS work_rev CASCADE; DROP TABLE IF EXISTS work_ident CASCADE; @@ -19,6 +21,18 @@ DROP TABLE IF EXISTS file_ident CASCADE; DROP TABLE IF EXISTS file_edit CASCADE; DROP TABLE IF EXISTS file_rev_url CASCADE; +DROP TABLE IF EXISTS fileset_rev CASCADE; +DROP TABLE IF EXISTS fileset_ident CASCADE; +DROP TABLE IF EXISTS fileset_edit CASCADE; +DROP TABLE IF EXISTS fileset_rev_file CASCADE; +DROP TABLE IF EXISTS fileset_rev_url CASCADE; + +DROP TABLE IF EXISTS webcapture_rev CASCADE; +DROP TABLE IF EXISTS webcapture_ident CASCADE; +DROP TABLE IF EXISTS webcapture_edit CASCADE; +DROP TABLE IF EXISTS webcapture_rev_cdx CASCADE; +DROP TABLE IF EXISTS webcapture_rev_url CASCADE; + DROP TABLE IF EXISTS container_rev CASCADE; DROP TABLE IF EXISTS container_ident CASCADE; DROP TABLE IF EXISTS container_edit CASCADE; -- cgit v1.2.3