From 78192fa3f283adaaeee584804684169c146dc68d Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sat, 26 Aug 2023 09:48:47 +0200 Subject: [PATCH] updated maildb state --- states/maildb/templates/maildb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/states/maildb/templates/maildb.py b/states/maildb/templates/maildb.py index b4d15d9..ec0485c 100644 --- a/states/maildb/templates/maildb.py +++ b/states/maildb/templates/maildb.py @@ -39,7 +39,7 @@ def CreateDB(conn, cursor): id serial NOT NULL, sender text NULL, recipient text NULL, - "date" timestamp NOT NULL DEFAULT CURRENT_DATE, + "date" timestamp NOT NULL DEFAULT NOW(), "content" text NULL, CONSTRAINT mail_pkey PRIMARY KEY (id) )''')