summaryrefslogtreecommitdiff
path: root/util
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 /util
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 'util')
-rw-r--r--util/updates/2022-06-18-user-prefs-prodrelexpand.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/updates/2022-06-18-user-prefs-prodrelexpand.sql b/util/updates/2022-06-18-user-prefs-prodrelexpand.sql
new file mode 100644
index 00000000..96fe5fe5
--- /dev/null
+++ b/util/updates/2022-06-18-user-prefs-prodrelexpand.sql
@@ -0,0 +1 @@
+ALTER TABLE users_prefs ADD COLUMN prodrelexpand boolean NOT NULL DEFAULT true;