diff options
author | Vincent Ambo <mail@tazj.in> | 2018-05-25T16·11+0200 |
---|---|---|
committer | Vincent Ambo <github@tazj.in> | 2018-05-27T13·00+0200 |
commit | 468af132e89a8cb80392b7d6e12f1e53b849c0c1 (patch) | |
tree | f4877b500e25627a5f3b938692def8aa33cae925 /migrations | |
parent | 33462c01fadc1093e1992f6277270ef809451841 (diff) |
feat(db): Add migration & fields to indicate a thread is closed
Diffstat (limited to 'migrations')
-rw-r--r-- | migrations/2018-05-25-160648_add_closed_column/down.sql | 1 | ||||
-rw-r--r-- | migrations/2018-05-25-160648_add_closed_column/up.sql | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/migrations/2018-05-25-160648_add_closed_column/down.sql b/migrations/2018-05-25-160648_add_closed_column/down.sql new file mode 100644 index 000000000000..fb2a98c0af42 --- /dev/null +++ b/migrations/2018-05-25-160648_add_closed_column/down.sql @@ -0,0 +1 @@ +ALTER TABLE threads DROP COLUMN closed; diff --git a/migrations/2018-05-25-160648_add_closed_column/up.sql b/migrations/2018-05-25-160648_add_closed_column/up.sql new file mode 100644 index 000000000000..d7d4c44da201 --- /dev/null +++ b/migrations/2018-05-25-160648_add_closed_column/up.sql @@ -0,0 +1 @@ +ALTER TABLE threads ADD COLUMN closed BOOLEAN NOT NULL DEFAULT false; |