From 4cf6423843c7c2319f3a7828817c2ac7b4c09e7f Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Wed, 29 Sep 2021 11:54:18 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9EUpgrade.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Upgrade.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Upgrade.md b/Upgrade.md index 270680e..9e0da1b 100644 --- a/Upgrade.md +++ b/Upgrade.md @@ -1,5 +1,13 @@ ## 29.10.2020 -##### SQL Update + +##### SQL Update +``` +ALTER TABLE Smartlock ADD COLUMN `doorsensorBatteryCritical` BOOLEAN NOT NULL AFTER `doorState`; +ALTER TABLE Smartlock ADD COLUMN `keypadBatteryCritical` BOOLEAN NOT NULL AFTER `homekitState`; +ALTER TABLE Smartlock ADD COLUMN `batteryCharging` BOOLEAN NOT NULL AFTER `batteryCharge`; +``` + +##### SQL Update ``` ALTER TABLE Smartlock ADD COLUMN `autoUpdateEnabled` BOOLEAN NOT NULL AFTER `autoUnlatch`; ALTER TABLE Smartlock ADD COLUMN `batteryCharge` SMALLINT NOT NULL AFTER `automaticBatteryTypeDetection`;