diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-02-27 20:50:31 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-02-27 20:50:31 +0100 |
commit | b29b962eecbbadecda4ad63e1c9a6d33710bcc05 (patch) | |
tree | 6d62d7740124c80f7bff5430a48420ce8e81487f | |
parent | caaef2492e17b397bb2ee3d60edfaf830ead51e5 (diff) |
Database schema: Use the TIMESTAMP WITH TIME ZONE type for timestamps.
-rw-r--r-- | schema.sql | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,7 +29,7 @@ CREATE TABLE wiki_pages( CREATE TABLE wiki_page_revisions( id SERIAL NOT NULL, page INTEGER NOT NULL, - date TIMESTAMP DEFAULT now(), + date TIMESTAMP WITH TIME ZONE DEFAULT now(), title VARCHAR, content VARCHAR, author INTEGER, @@ -44,7 +44,7 @@ CREATE TABLE wiki_page_revisions( CREATE TABLE bookmarks( id SERIAL NOT NULL, owner INTEGER, - date TIMESTAMP DEFAULT now(), + date TIMESTAMP WITH TIME ZONE DEFAULT now(), uri VARCHAR NOT NULL, title VARCHAR, description VARCHAR, |