findDevice tuned
This commit is contained in:
8
schema/createSchema.sql
Normal file
8
schema/createSchema.sql
Normal file
@ -0,0 +1,8 @@
|
||||
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,
|
||||
sharedsecret varchar(31) NOT NULL,
|
||||
active boolean NOT NULL DEFAULT false
|
||||
);
|
Reference in New Issue
Block a user