fix
All checks were successful
Build and Deploy Go App / build (push) Successful in 17m41s
Build and Deploy Go App / deploy (push) Successful in 3m34s

This commit is contained in:
Iron_Felix 2025-11-18 04:19:34 +03:00
parent 8371121130
commit 8deba7afd9
4 changed files with 28 additions and 7 deletions

View file

@ -28,7 +28,6 @@ CREATE TABLE reviews (
id bigint GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
data text NOT NULL,
rating int CHECK (rating >= 0 AND rating <= 10),
illust_id bigint REFERENCES images (id),
user_id bigint REFERENCES users (id),
title_id bigint REFERENCES titles (id),
created_at timestamptz DEFAULT NOW()
@ -87,9 +86,9 @@ CREATE TABLE usertitles (
title_id bigint NOT NULL REFERENCES titles (id),
status usertitle_status_t NOT NULL,
rate int CHECK (rate > 0 AND rate <= 10),
review_text text,
review_date timestamptz
// TODO: series status
review_id bigint NOT NULL REFERENCES reviews (id),
ctime timestamptz
-- // TODO: series status
);
CREATE TABLE title_tags (