]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix mysql table creation issue with Events table
authorEric Bollengier <eric@baculasystems.com>
Wed, 15 Jul 2020 13:42:36 +0000 (15:42 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:02 +0000 (09:03 +0100)
bacula/src/cats/update_mysql_tables.in

index fd26ecd8999fcb184d639db90430d5449cada7b4..6311f264cc5f5e7a8db56f1335660eb37c581bc7 100644 (file)
@@ -476,7 +476,7 @@ CREATE TABLE Events
     EventsCode        TINYBLOB NOT NULL,
     EventsType        TINYBLOB NOT NULL,
     EventsTime        DATETIME,
-    EventsInsertTime  DATETIME DEFAULT NOW(),
+    EventsInsertTime  DATETIME,
     EventsDaemon        TINYBLOB NOT NULL,
     EventsSource      TINYBLOB NOT NULL,
     EventsRef         TINYBLOB NOT NULL,