freeDevice

This commit is contained in:
2021-04-29 17:17:40 +02:00
parent 6c95b2116d
commit 0a7fa97c58
2 changed files with 46 additions and 23 deletions

View File

@ -4,5 +4,6 @@ CREATE TABLE device_t (
id integer PRIMARY KEY DEFAULT NEXTVAL('device_s'),
deviceid varchar(16) UNIQUE NOT NULL,
sharedsecret varchar(31) NOT NULL,
location varchar(128) NOT NULL,
active boolean NOT NULL DEFAULT false
);
);