feat(db): Add migration & fields to indicate a thread is closed
This commit is contained in:
parent
33462c01fa
commit
468af132e8
4 changed files with 4 additions and 0 deletions
1
migrations/2018-05-25-160648_add_closed_column/down.sql
Normal file
1
migrations/2018-05-25-160648_add_closed_column/down.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE threads DROP COLUMN closed;
|
||||
1
migrations/2018-05-25-160648_add_closed_column/up.sql
Normal file
1
migrations/2018-05-25-160648_add_closed_column/up.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE threads ADD COLUMN closed BOOLEAN NOT NULL DEFAULT false;
|
||||
Loading…
Add table
Add a link
Reference in a new issue