sinkserver/schema/createSchema.sql

8 lines
253 B
MySQL
Raw Normal View History

2021-04-29 16:13:27 +02:00
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
);