]> git.ipfire.org Git - pbs.git/commitdiff
db: Fix type of datetime fields
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 7 Oct 2017 12:23:05 +0000 (13:23 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 7 Oct 2017 12:23:05 +0000 (13:23 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/database.sql

index b3856ab656a17773a503872350b62fdeef5dfc3e..d6f9cbefd2d4c41ad2d2884edc2a96e714c64c4e 100644 (file)
@@ -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
 );