changeset 4100:cc3d607b49cc timezone

Merged default into timezone branch.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 26 Jul 2019 10:50:22 +0200
parents cfa0a5775d70 (current diff) 5af72130b61f (diff)
children ed66522a15a5
files schema/gemma.sql
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/schema/gemma.sql	Fri Jul 26 09:57:29 2019 +0200
+++ b/schema/gemma.sql	Fri Jul 26 10:50:22 2019 +0200
@@ -850,7 +850,7 @@
     CREATE TABLE import_logs (
         import_id int NOT NULL REFERENCES imports(id)
             ON DELETE CASCADE,
-        time timestamp with time zone NOT NULL DEFAULT now(),
+        time timestamp with time zone NOT NULL DEFAULT CURRENT_TIMESTAMP,
         kind log_type NOT NULL DEFAULT 'info',
         msg TEXT NOT NULL
     )