Fix mariadb timestamp columns

MariaDB automatically inserts the current time, even when saying `SET
datecol = null`.
This commit is contained in:
Eike Kettner 2020-06-17 21:50:52 +02:00
parent dee65928a1
commit 4028b7979e

View File

@ -0,0 +1,14 @@
ALTER TABLE `item`
MODIFY `itemdate` TIMESTAMP NULL;
ALTER TABLE `item`
MODIFY `duedate` TIMESTAMP NULL;
ALTER TABLE `user_`
MODIFY `lastlogin` TIMESTAMP NULL;
ALTER TABLE `job`
MODIFY `started` TIMESTAMP NULL;
ALTER TABLE `job`
MODIFY `finished` TIMESTAMP NULL;