„Upgrade.md“ ändern

This commit is contained in:
Mario Voigt 2018-11-30 13:05:32 +01:00
parent 05c678a69b
commit 72a508ab71

View File

@ -5,6 +5,14 @@
* Nuki Bridge WiFi Firmware 1.2.0 -> no change
##### SQL Update
`
ALTER TABLE SmartlockLog ADD COLUMN 'accountUserId' VARCHAR(24) FIRST;
`
```
ALTER TABLE SmartlockLog ADD COLUMN `List` VARCHAR(24) FIRST;
ALTER TABLE SmartlockAuth ADD COLUMN `accountUserId` VARCHAR(24) FIRST;
ALTER TABLE SmartlockAuth ADD COLUMN `allowedFromDate` DATETIME NOT NULL AFTER `accountUserId`;
ALTER TABLE SmartlockAuth ADD COLUMN `allowedFromTime` SMALLINT NOT NULL AFTER `allowedFromDate`;
ALTER TABLE SmartlockAuth ADD COLUMN `allowedUntilDate` DATETIME NOT NULL AFTER `allowedFromTime`;
ALTER TABLE SmartlockAuth ADD COLUMN `allowedUntilTime` SMALLINT NOT NULL AFTER `allowedUntilDate`;
ALTER TABLE SmartlockAuth ADD COLUMN `allowedWeekDays` SMALLINT NOT NULL AFTER `allowedUntilTime`;
```