summaryrefslogtreecommitdiff
path: root/util/dump.sql
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-08-08 16:54:24 +0200
committerYorhel <git@yorhel.nl>2009-08-08 16:54:24 +0200
commit9d3e1e78bc963ac58b504edb00b428e82e177f68 (patch)
tree81a965914a04f25c580d792f26ecc1aa5a334e56 /util/dump.sql
parent1e2a5c75f0154a12af7d19929153c27c75d193b1 (diff)
Converted votes.date to timestamptz and use NOW() as default
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 3667c3b5..fa29460f 100644
--- a/util/dump.sql
+++ b/util/dump.sql
@@ -326,7 +326,7 @@ CREATE TABLE votes (
vid integer NOT NULL DEFAULT 0,
uid integer NOT NULL DEFAULT 0,
vote integer NOT NULL DEFAULT 0,
- date bigint NOT NULL DEFAULT 0,
+ date timestamptz NOT NULL DEFAULT NOW(),
PRIMARY KEY(vid, uid)
);