summaryrefslogtreecommitdiff
path: root/util/dump.sql
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-08-12 13:34:19 +0200
committerYorhel <git@yorhel.nl>2009-08-12 13:34:19 +0200
commit9af811fcde7d9f5c8e9f63390e895fcb8fc07677 (patch)
treecdaaf0427909f43eaaf4496fc7d7f0f35ef1a3db /util/dump.sql
parent47da6589c96a958ea3116ffd364a98928f5cbbab (diff)
Synchronised a NOT NULL constraint in dump.sql with the actual DB
threads_posts.edited allows NULL values.
Diffstat (limited to 'util/dump.sql')
-rw-r--r--util/dump.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/dump.sql b/util/dump.sql
index b3baae99..db1ac017 100644
--- a/util/dump.sql
+++ b/util/dump.sql
@@ -234,7 +234,7 @@ CREATE TABLE threads_posts (
num smallint NOT NULL DEFAULT 0,
uid integer NOT NULL DEFAULT 0,
date timestamptz NOT NULL DEFAULT NOW(),
- edited timestamptz NOT NULL,
+ edited timestamptz,
msg text NOT NULL DEFAULT '',
hidden boolean NOT NULL DEFAULT FALSE,
PRIMARY KEY(tid, num)