sql: set default value on triggers timestamps

This commit is contained in:
Tanguy Pruvot 2017-09-14 08:02:17 +02:00
parent 6c90300b6e
commit 953bdc95d8

View file

@ -0,0 +1,6 @@
-- Recent additions to add after db init (.gz)
-- mysql yaamp -p < file.sql
ALTER TABLE `notifications` CHANGE `lastchecked` `lastchecked` int(10) UNSIGNED NOT NULL DEFAULT '0';
ALTER TABLE `notifications` CHANGE `lasttriggered` `lasttriggered` int(10) UNSIGNED NOT NULL DEFAULT '0';