summaryrefslogtreecommitdiffstats
path: root/migrations
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-11-05 14:00:14 +0100
committerMatthias Beyer <mail@beyermatthias.de>2020-11-05 14:47:57 +0100
commit500b9f0e333d9682b8216982752e17528e87fdd6 (patch)
tree8beac9db016dc4e06c7f317fc97f452eaeebc34e /migrations
parent9c6bbb86c562cb0a4b8a35f5aa2416afb2b03c37 (diff)
Remove idea of "buildplan"
This patch drops the concept of a "buildplan". This is not required for the first proof-of-concept and makes things too complicated to implement fast. Thus, remove this for now. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'migrations')
-rw-r--r--migrations/2020-11-05-125716_drop_submit_buildplan/down.sql5
-rw-r--r--migrations/2020-11-05-125716_drop_submit_buildplan/up.sql5
2 files changed, 10 insertions, 0 deletions
diff --git a/migrations/2020-11-05-125716_drop_submit_buildplan/down.sql b/migrations/2020-11-05-125716_drop_submit_buildplan/down.sql
new file mode 100644
index 0000000..4ce217c
--- /dev/null
+++ b/migrations/2020-11-05-125716_drop_submit_buildplan/down.sql
@@ -0,0 +1,5 @@
+-- This file should undo anything in `up.sql`
+ALTER TABLE
+ submits
+ADD COLUMN
+ buildplan JSONB NOT NULL;
diff --git a/migrations/2020-11-05-125716_drop_submit_buildplan/up.sql b/migrations/2020-11-05-125716_drop_submit_buildplan/up.sql
new file mode 100644
index 0000000..461a990
--- /dev/null
+++ b/migrations/2020-11-05-125716_drop_submit_buildplan/up.sql
@@ -0,0 +1,5 @@
+-- Your SQL goes here
+ALTER TABLE
+ submits
+DROP COLUMN
+ buildplan