diff options
Diffstat (limited to 'migrations/2021-02-05-142606_remove-package-tree-json-from-submit')
-rw-r--r-- | migrations/2021-02-05-142606_remove-package-tree-json-from-submit/down.sql | 5 | ||||
-rw-r--r-- | migrations/2021-02-05-142606_remove-package-tree-json-from-submit/up.sql | 5 |
2 files changed, 10 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 diff --git a/migrations/2021-02-05-142606_remove-package-tree-json-from-submit/up.sql b/migrations/2021-02-05-142606_remove-package-tree-json-from-submit/up.sql new file mode 100644 index 0000000..531d746 --- /dev/null +++ b/migrations/2021-02-05-142606_remove-package-tree-json-from-submit/up.sql @@ -0,0 +1,5 @@ +-- Your SQL goes here +ALTER TABLE + submits +DROP COLUMN + tree |