summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2022-06-18 12:39:22 +0200
committerYorhel <git@yorhel.nl>2022-06-18 12:39:24 +0200
commit888c7d968f44e86ffe2808cef67ed7e0e6145ad3 (patch)
tree54fae3d82e7ef0831865c77fa1093a808b5a5f63 /sql
parentf5f3fa2dab23b6a20325a45bd080bdd2aae420de (diff)
Users/prefs: Move prodrelexpand setting from cookie to user settings
For better consistency with other settings. This means it is not remembered for regular visitors anymore, and there's now an unused cookie in people's browser that should eventually be deleted.
Diffstat (limited to 'sql')
-rw-r--r--sql/schema.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/schema.sql b/sql/schema.sql
index 3c04cc29..d215546e 100644
--- a/sql/schema.sql
+++ b/sql/schema.sql
@@ -1059,7 +1059,8 @@ CREATE TABLE users_prefs (
ulist_wish jsonb,
vnlang jsonb, -- '$lang(-mtl)?' => true/false, which languages to expand/collapse on VN pages
title_langs jsonb,
- alttitle_langs jsonb
+ alttitle_langs jsonb,
+ prodrelexpand boolean NOT NULL DEFAULT true
);
-- Additional fields for the 'users' table, but with some protected columns.