changeset 4099:5af72130b61f

Fixed broken schema statement.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 26 Jul 2019 10:38:24 +0200
parents 287dfd4dbdb6
children cc3d607b49cc 7afe411eeb48
files schema/gemma.sql
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/schema/gemma.sql	Thu Jul 25 18:12:50 2019 +0200
+++ b/schema/gemma.sql	Fri Jul 26 10:38:24 2019 +0200
@@ -850,7 +850,7 @@
     CREATE TABLE import_logs (
         import_id int NOT NULL REFERENCES imports(id)
             ON DELETE CASCADE,
-        time timestamp zone NOT NULL DEFAULT now(),
+        time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
         kind log_type NOT NULL DEFAULT 'info',
         msg TEXT NOT NULL
     )