Add a date for sorting threads by last reply
This commit is contained in:
parent
8290eb795a
commit
d84176677f
2
migrations/3/down.sql
Normal file
2
migrations/3/down.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE threads
|
||||
DROP COLUMN bump_date;
|
4
migrations/3/up.sql
Normal file
4
migrations/3/up.sql
Normal file
|
@ -0,0 +1,4 @@
|
|||
ALTER TABLE threads
|
||||
ADD COLUMN bump_date TIMESTAMPTZ
|
||||
NOT NULL
|
||||
DEFAULT NOW();
|
Loading…
Reference in a new issue