schema/mysql: workaround for bug in MySQL v5.6

fixes #1993
This commit is contained in:
Thomas Gelf 2019-10-16 16:51:01 +02:00
parent 5dab744b81
commit 1723e13557
2 changed files with 11 additions and 1 deletions

View File

@ -15,6 +15,16 @@ next (will be 1.8.0)
* FIX: It's now possible to set Endpoint ports > 32767 on PostgreSQL (#928)
* FEATURE: Data Fields can now be grouped into categories (#1969)
1.7.2
-----
### Fixed issues
* You can find issues and feature requests related to this release on our
[roadmap](https://github.com/Icinga/icingaweb2-module-director/milestone/23?closed=1)
### DB Schema
* FIX: Rolling out new installations on MySQL v5.6 fails (#1993)
1.7.1
-----

View File

@ -38,7 +38,7 @@ CREATE TABLE director_activity_log (
old_properties TEXT DEFAULT NULL COMMENT 'Property hash, JSON',
new_properties TEXT DEFAULT NULL COMMENT 'Property hash, JSON',
author VARCHAR(64) NOT NULL,
change_time TIMESTAMP NOT NULL,
change_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
checksum VARBINARY(20) NOT NULL,
parent_checksum VARBINARY(20) DEFAULT NULL,
PRIMARY KEY (id),