summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-08-16 09:20:15 +0200
committerYorhel <git@yorhel.nl>2020-08-16 09:20:15 +0200
commit35902bbf0150df1710474be3b6618ec73c6c2623 (patch)
tree8d2fe21757c7ed16d859fac0e78164d7251671ba /util
parent3f93a04fbe7ea3ba3e77f678f7bbd0c4a8791e9b (diff)
reviews: Fix deleting users who have posted a review
Diffstat (limited to 'util')
-rw-r--r--util/updates/wip-reviews.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/updates/wip-reviews.sql b/util/updates/wip-reviews.sql
index 82b6f327..6ce5182d 100644
--- a/util/updates/wip-reviews.sql
+++ b/util/updates/wip-reviews.sql
@@ -5,7 +5,7 @@ CREATE SEQUENCE reviews_seq;
CREATE TABLE reviews (
id vndbid PRIMARY KEY DEFAULT vndbid('w', nextval('reviews_seq')::int) CONSTRAINT reviews_id_check CHECK(vndbid_type(id) = 'w'),
vid int NOT NULL,
- uid int NOT NULL,
+ uid int,
rid int,
date timestamptz NOT NULL DEFAULT NOW(),
lastmod timestamptz,