sharedsecret

This commit is contained in:
2021-04-29 16:40:58 +02:00
parent b16be4f98f
commit 6f9ae7bcb2
2 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@ CREATE SEQUENCE device_s START WITH 1 INCREMENT BY 1;
CREATE TABLE device_t (
id integer PRIMARY KEY DEFAULT NEXTVAL('device_s'),
deviceid varchar(16) NOT NULL,
deviceid varchar(16) UNIQUE NOT NULL,
sharedsecret varchar(31) NOT NULL,
active boolean NOT NULL DEFAULT false
);