Merge branch 'master' of ssh://leyghis.fablabchemnitz.de:223/MarioVoigt/Nukiana
This commit is contained in:
commit
d34c8884e0
@ -78,11 +78,12 @@ CREATE TABLE IF NOT EXISTS Smartlock
|
|||||||
`doorState` SMALLINT NOT NULL,
|
`doorState` SMALLINT NOT NULL,
|
||||||
`doubleButtonPressAction` SMALLINT NOT NULL,
|
`doubleButtonPressAction` SMALLINT NOT NULL,
|
||||||
`favorite` BOOLEAN NOT NULL,
|
`favorite` BOOLEAN NOT NULL,
|
||||||
`firmwareVersion` VARCHAR(255),
|
`firmwareVersion` INT NOT NULL,
|
||||||
`fobAction1` SMALLINT NOT NULL,
|
`fobAction1` SMALLINT NOT NULL,
|
||||||
`fobAction2` SMALLINT NOT NULL,
|
`fobAction2` SMALLINT NOT NULL,
|
||||||
`fobAction3` SMALLINT NOT NULL,
|
`fobAction3` SMALLINT NOT NULL,
|
||||||
`fobPaired` BOOLEAN NOT NULL,
|
`fobPaired` BOOLEAN NOT NULL,
|
||||||
|
`hardwareVersion` INT NOT NULL,
|
||||||
`homekitState` SMALLINT NOT NULL,
|
`homekitState` SMALLINT NOT NULL,
|
||||||
`keypadPaired` BOOLEAN NOT NULL,
|
`keypadPaired` BOOLEAN NOT NULL,
|
||||||
`lastAction` SMALLINT NOT NULL,
|
`lastAction` SMALLINT NOT NULL,
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
## 11.12.2018
|
||||||
|
Added hardwareVersion Information
|
||||||
|
|
||||||
|
##### SQL Update
|
||||||
|
```
|
||||||
|
TRUNCATE TABLE Smartlock; /*needs to be truncated - otherwise column mod is not possible*/
|
||||||
|
ALTER TABLE Smartlock MODIFY `firmwareVersion` INT NOT NULL;
|
||||||
|
ALTER TABLE Smartlock ADD COLUMN `hardwareVersion` INT NOT NULL AFTER `fobPaired`;
|
||||||
|
```
|
||||||
|
|
||||||
## 30.11.2018
|
## 30.11.2018
|
||||||
* Nuki Smartlock Firmware 67330 -> 67331 (checked @ 30.11.2018)
|
* Nuki Smartlock Firmware 67330 -> 67331 (checked @ 30.11.2018)
|
||||||
|
Loading…
Reference in New Issue
Block a user