diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-12-03 09:47:20 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-12-03 09:47:20 +0100 |
commit | d7667a7aab2ffae5934292b16167f66a80bb9439 (patch) | |
tree | 3e742fa930c1f5b3e1fc2e22d7eca3e063e848fd /migrations/2020-12-03-084509_artifact_release_flag | |
parent | bc61eb15068ebc34e60a5dee144d0912794dc3e1 (diff) |
Add flag to artifacts table, whether artifact is released or not
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'migrations/2020-12-03-084509_artifact_release_flag')
-rw-r--r-- | migrations/2020-12-03-084509_artifact_release_flag/down.sql | 5 | ||||
-rw-r--r-- | migrations/2020-12-03-084509_artifact_release_flag/up.sql | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/migrations/2020-12-03-084509_artifact_release_flag/down.sql b/migrations/2020-12-03-084509_artifact_release_flag/down.sql new file mode 100644 index 0000000..9d0ace1 --- /dev/null +++ b/migrations/2020-12-03-084509_artifact_release_flag/down.sql @@ -0,0 +1,5 @@ +-- This file should undo anything in `up.sql` +ALTER TABLE + artifacts +DROP COLUMN + released diff --git a/migrations/2020-12-03-084509_artifact_release_flag/up.sql b/migrations/2020-12-03-084509_artifact_release_flag/up.sql new file mode 100644 index 0000000..0c45567 --- /dev/null +++ b/migrations/2020-12-03-084509_artifact_release_flag/up.sql @@ -0,0 +1,5 @@ +-- Your SQL goes here +ALTER TABLE + artifacts +ADD COLUMN + released boolean NOT NULL |