aboutsummaryrefslogtreecommitdiffstats
path: root/rust/migrations/2018-05-12-001226_init/down.sql
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-26 15:15:27 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-26 15:15:27 -0800
commit0028ee3278cd274565e1a9459337835aa4bafb06 (patch)
tree3ea1b4fd66194e288e9ba64465d080acec98e5f4 /rust/migrations/2018-05-12-001226_init/down.sql
parent8aac86c931901af56fd09a54aa19e3c14dde300c (diff)
downloadfatcat-0028ee3278cd274565e1a9459337835aa4bafb06.tar.gz
fatcat-0028ee3278cd274565e1a9459337835aa4bafb06.zip
sql: table deletion updates
Diffstat (limited to 'rust/migrations/2018-05-12-001226_init/down.sql')
-rw-r--r--rust/migrations/2018-05-12-001226_init/down.sql16
1 files changed, 15 insertions, 1 deletions
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;