diff options
author | Yorhel <git@yorhel.nl> | 2009-08-08 16:41:34 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-08-08 16:41:34 +0200 |
commit | 1e2a5c75f0154a12af7d19929153c27c75d193b1 (patch) | |
tree | d3a949969ef8ecc8d3c06f70238c8e5fe439e65f /util/dump.sql | |
parent | c90e590bdbe7933df8e8a0d83c82dddfa22afc37 (diff) |
Converted threads_posts.date and edited to timestamptz
Everything still seems to be working fine so far.
Diffstat (limited to 'util/dump.sql')
-rw-r--r-- | util/dump.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/dump.sql b/util/dump.sql index f103d14d..3667c3b5 100644 --- a/util/dump.sql +++ b/util/dump.sql @@ -233,8 +233,8 @@ CREATE TABLE threads_posts ( tid integer NOT NULL DEFAULT 0, num smallint NOT NULL DEFAULT 0, uid integer NOT NULL DEFAULT 0, - date bigint NOT NULL DEFAULT DATE_PART('epoch', NOW()), - edited bigint NOT NULL DEFAULT 0, + date timestamptz NOT NULL DEFAULT NOW(), + edited timestamptz NOT NULL, msg text NOT NULL DEFAULT '', hidden boolean NOT NULL DEFAULT FALSE, PRIMARY KEY(tid, num) |