fix: usertitle ftime logic
This commit is contained in:
parent
486c6d8407
commit
1b6c536b77
3 changed files with 55 additions and 2 deletions
|
|
@ -86,7 +86,8 @@ CREATE TABLE usertitles (
|
|||
status usertitle_status_t NOT NULL,
|
||||
rate int CHECK (rate > 0 AND rate <= 10),
|
||||
review_id bigint REFERENCES reviews (id) ON DELETE SET NULL,
|
||||
ctime timestamptz NOT NULL DEFAULT now()
|
||||
ctime timestamptz NOT NULL DEFAULT now(),
|
||||
ftime timestamptz NOT NULL DEFAULT now()
|
||||
-- // TODO: series status
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue