summaryrefslogtreecommitdiffstats
path: root/rust/migrations/2021-11-17-222046_content_scope/down.sql
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-17 14:47:58 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-11-17 16:16:25 -0800
commit4150b322b039f370414e205579d1eb1986a033a8 (patch)
treeff66a05a284f0d68251d66c02500a9d65879b77d /rust/migrations/2021-11-17-222046_content_scope/down.sql
parentd971abdffdc5c9eed0e8493526747e028bcaf15f (diff)
downloadfatcat-4150b322b039f370414e205579d1eb1986a033a8.tar.gz
fatcat-4150b322b039f370414e205579d1eb1986a033a8.zip
SQL implementation of content_scope
Diffstat (limited to 'rust/migrations/2021-11-17-222046_content_scope/down.sql')
-rw-r--r--rust/migrations/2021-11-17-222046_content_scope/down.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/rust/migrations/2021-11-17-222046_content_scope/down.sql b/rust/migrations/2021-11-17-222046_content_scope/down.sql
new file mode 100644
index 00000000..b2d55321
--- /dev/null
+++ b/rust/migrations/2021-11-17-222046_content_scope/down.sql
@@ -0,0 +1,10 @@
+-- This file should undo anything in `up.sql`
+
+ALTER TABLE file_rev
+DROP COLUMN content_scope;
+
+ALTER TABLE fileset_rev
+DROP COLUMN content_scope;
+
+ALTER TABLE webcapture_rev
+DROP COLUMN content_scope;