„README.md“ ändern
This commit is contained in:
parent
3f66929828
commit
10a0fb3d9c
@ -63,6 +63,7 @@ apt-get install mariadb-server
|
|||||||
CREATE TABLE IF NOT EXISTS Smartlock
|
CREATE TABLE IF NOT EXISTS Smartlock
|
||||||
(
|
(
|
||||||
`accountId` VARCHAR(9) NOT NULL,
|
`accountId` VARCHAR(9) NOT NULL,
|
||||||
|
`adminPinState` INT NOT NULL,
|
||||||
`adminPinState` SMALLINT NOT NULL,
|
`adminPinState` SMALLINT NOT NULL,
|
||||||
`advertisingMode` SMALLINT NOT NULL,
|
`advertisingMode` SMALLINT NOT NULL,
|
||||||
`authId` VARCHAR(24),
|
`authId` VARCHAR(24),
|
||||||
@ -72,6 +73,7 @@ CREATE TABLE IF NOT EXISTS Smartlock
|
|||||||
`batteryCritical` BOOLEAN NOT NULL,
|
`batteryCritical` BOOLEAN NOT NULL,
|
||||||
`batteryType` SMALLINT NOT NULL,
|
`batteryType` SMALLINT NOT NULL,
|
||||||
`buttonEnabled` BOOLEAN NOT NULL,
|
`buttonEnabled` BOOLEAN NOT NULL,
|
||||||
|
`capabilities` INT NOT NULL,
|
||||||
`creationDate` DATETIME NOT NULL,
|
`creationDate` DATETIME NOT NULL,
|
||||||
`daylightSavingMode` SMALLINT NOT NULL,
|
`daylightSavingMode` SMALLINT NOT NULL,
|
||||||
`detachedCylinder` BOOLEAN NOT NULL,
|
`detachedCylinder` BOOLEAN NOT NULL,
|
||||||
@ -96,7 +98,9 @@ CREATE TABLE IF NOT EXISTS Smartlock
|
|||||||
`mainName` VARCHAR(255),
|
`mainName` VARCHAR(255),
|
||||||
`mode` SMALLINT NOT NULL,
|
`mode` SMALLINT NOT NULL,
|
||||||
`name` VARCHAR(255),
|
`name` VARCHAR(255),
|
||||||
|
`operatingMode` INT NOT NULL,
|
||||||
`pairingEnabled` BOOLEAN NOT NULL,
|
`pairingEnabled` BOOLEAN NOT NULL,
|
||||||
|
`ringToOpenTimer` INT NOT NULL,
|
||||||
`serverState` SMALLINT NOT NULL,
|
`serverState` SMALLINT NOT NULL,
|
||||||
`singleButtonPressAction` SMALLINT NOT NULL,
|
`singleButtonPressAction` SMALLINT NOT NULL,
|
||||||
`singleLock` BOOLEAN NOT NULL,
|
`singleLock` BOOLEAN NOT NULL,
|
||||||
@ -122,6 +126,8 @@ CREATE TABLE IF NOT EXISTS SmartlockLog
|
|||||||
`authId` VARCHAR(24),
|
`authId` VARCHAR(24),
|
||||||
`autoUnlock` BOOLEAN NOT NULL,
|
`autoUnlock` BOOLEAN NOT NULL,
|
||||||
`date` DATETIME NOT NULL,
|
`date` DATETIME NOT NULL,
|
||||||
|
`deviceType` BOOLEAN NOT NULL,
|
||||||
|
`flagGeoFence` BOOLEAN NOT NULL,
|
||||||
`id` VARCHAR(24) NOT NULL PRIMARY KEY, /*primary key = unique!*/
|
`id` VARCHAR(24) NOT NULL PRIMARY KEY, /*primary key = unique!*/
|
||||||
`name` VARCHAR(255),
|
`name` VARCHAR(255),
|
||||||
`smartlockId` VARCHAR(9) NOT NULL,
|
`smartlockId` VARCHAR(9) NOT NULL,
|
||||||
|
Loading…
Reference in New Issue
Block a user