summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-08-04 08:47:52 +0200
committerYorhel <git@yorhel.nl>2021-08-04 08:47:52 +0200
commitfd8c51b3e47a97ffb06d66140f2458b565c37fe9 (patch)
tree3084ae08aeac2953181464cd8f863d7bf70ee7da /util
parent6baa5582a2ff9015f3bd672e6c62570af6517903 (diff)
VNLengthVote: Misc code reorg + basic user stats
Diffstat (limited to 'util')
-rw-r--r--util/updates/2021-08-04-vnlength-index.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/updates/2021-08-04-vnlength-index.sql b/util/updates/2021-08-04-vnlength-index.sql
new file mode 100644
index 00000000..f9e93d01
--- /dev/null
+++ b/util/updates/2021-08-04-vnlength-index.sql
@@ -0,0 +1,2 @@
+ALTER TABLE users ALTER COLUMN perm_lengthvote SET DEFAULT true;
+CREATE INDEX vn_length_votes_uid ON vn_length_votes (uid);