summaryrefslogtreecommitdiffstats
path: root/migrations/2021-02-05-142606_remove-package-tree-json-from-submit/down.sql
diff options
context:
space:
mode:
Diffstat (limited to 'migrations/2021-02-05-142606_remove-package-tree-json-from-submit/down.sql')
-rw-r--r--migrations/2021-02-05-142606_remove-package-tree-json-from-submit/down.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/migrations/2021-02-05-142606_remove-package-tree-json-from-submit/down.sql b/migrations/2021-02-05-142606_remove-package-tree-json-from-submit/down.sql
new file mode 100644
index 0000000..a7348ee
--- /dev/null
+++ b/migrations/2021-02-05-142606_remove-package-tree-json-from-submit/down.sql
@@ -0,0 +1,5 @@
+-- This file should undo anything in `up.sql`
+ALTER TABLE
+ submits
+ADD COLUMN
+ tree JSONB NOT NULL