From: Michael Tremer Date: Sat, 7 Oct 2017 12:23:05 +0000 (+0100) Subject: db: Fix type of datetime fields X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=599c1a33724bfac1d6e8cc0cb7e34db7bd6932c8;p=pbs.git db: Fix type of datetime fields Signed-off-by: Michael Tremer --- diff --git a/src/database.sql b/src/database.sql index b3856ab6..d6f9cbef 100644 --- a/src/database.sql +++ b/src/database.sql @@ -899,7 +899,7 @@ CREATE TABLE builds ( state builds_state DEFAULT 'building'::builds_state NOT NULL, severity builds_severity, message text, - time_created timestamp with time zone NOT NULL, + time_created timestamp without time zone NOT NULL, update_year integer, update_num integer, depends_on integer, @@ -1293,7 +1293,7 @@ CREATE TABLE filelists ( mode integer NOT NULL, "user" text NOT NULL, "group" text NOT NULL, - mtime timestamp with time zone NOT NULL, + mtime timestamp without time zone NOT NULL, capabilities text );