fix
This commit is contained in:
parent
148ae646b1
commit
8371121130
2 changed files with 13 additions and 6 deletions
|
|
@ -60,6 +60,7 @@ CREATE TABLE studios (
|
|||
);
|
||||
|
||||
CREATE TABLE titles (
|
||||
// TODO: anime type (film, season etc)
|
||||
id bigint GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
|
||||
-- example {"ru": ["Атака титанов", "Атака Титанов"],"en": ["Attack on Titan", "AoT"],"ja": ["進撃の巨人", "しんげきのきょじん"]}
|
||||
title_names jsonb NOT NULL,
|
||||
|
|
@ -88,6 +89,7 @@ CREATE TABLE usertitles (
|
|||
rate int CHECK (rate > 0 AND rate <= 10),
|
||||
review_text text,
|
||||
review_date timestamptz
|
||||
// TODO: series status
|
||||
);
|
||||
|
||||
CREATE TABLE title_tags (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue