summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2022-02-10 14:48:01 +0100
committerYorhel <git@yorhel.nl>2022-02-10 14:48:01 +0100
commit24a86620d561a5efc563bc130874a8a0ab2fd1ea (patch)
tree4ced3224f915c4f890821b70b254fd290169d790 /sql
parent727a4d84255f13badffe16c5858fdb036ddcdbce (diff)
Add title language user preference
Diffstat (limited to 'sql')
-rw-r--r--sql/schema.sql4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/schema.sql b/sql/schema.sql
index f012f520..cc224bb1 100644
--- a/sql/schema.sql
+++ b/sql/schema.sql
@@ -1014,7 +1014,9 @@ CREATE TABLE users (
vnlang jsonb, -- '$lang(-mtl)?' => true/false, which languages to expand/collapse on VN pages
tableopts_v integer,
tableopts_vt integer, -- VN listing on tag pages
- perm_lengthvote boolean NOT NULL DEFAULT true -- [pub] (public because this is used in calculating VN lengths)
+ perm_lengthvote boolean NOT NULL DEFAULT true, -- [pub] (public because this is used in calculating VN lengths)
+ title_langs jsonb,
+ alttitle_langs jsonb,
);
-- Additional fields for the 'users' table, but with some protected columns.