]> 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>
Tue, 1 Mar 2022 14:36:16 +0000 (15:36 +0100)
bacula/src/cats/make_mysql_tables.in

index f84aec0ba0f490eed76c49353a87ec3e4b12c049..fd7f4f9e634c7e599140505dabeff1cf65cedda0 100644 (file)
@@ -88,7 +88,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,