„Upgrade.md“ ändern

This commit is contained in:
Mario Voigt 2018-12-02 14:20:33 +01:00
parent 974562d69b
commit 43345f3947

View File

@ -15,6 +15,7 @@ ALTER TABLE SmartlockAuth ADD COLUMN `allowedUntilDate` DATETIME NOT NULL AFTER
ALTER TABLE SmartlockAuth ADD COLUMN `allowedUntilTime` SMALLINT AFTER `allowedUntilDate`; ALTER TABLE SmartlockAuth ADD COLUMN `allowedUntilTime` SMALLINT AFTER `allowedUntilDate`;
ALTER TABLE SmartlockAuth ADD COLUMN `allowedWeekDays` SMALLINT NOT NULL AFTER `allowedUntilTime`; ALTER TABLE SmartlockAuth ADD COLUMN `allowedWeekDays` SMALLINT NOT NULL AFTER `allowedUntilTime`;
/*delimeter is set to ++ to use this script in DBVisualizer*/
DROP FUNCTION IF EXISTS DaysFromBitMask; DROP FUNCTION IF EXISTS DaysFromBitMask;
@delimiter ++; @delimiter ++;
CREATE FUNCTION DaysFromBitMask (val INT) CREATE FUNCTION DaysFromBitMask (val INT)