|
|
@ -1,9 +1,16 @@
|
|
|
|
CREATE TABLE DM_DEVICE_TYPE (
|
|
|
|
CREATE TABLE DM_DEVICE_TYPE (
|
|
|
|
ID INT IDENTITY NOT NULL,
|
|
|
|
ID INTEGER IDENTITY NOT NULL,
|
|
|
|
NAME VARCHAR(300) DEFAULT NULL,
|
|
|
|
NAME VARCHAR(300) DEFAULT NULL,
|
|
|
|
PRIMARY KEY (ID)
|
|
|
|
PRIMARY KEY (ID)
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE DM_DEVICE_CERTIFICATE (
|
|
|
|
|
|
|
|
ID INTEGER IDENTITY NOT NULL,
|
|
|
|
|
|
|
|
SERIAL_NUMBER VARCHAR(500) DEFAULT NULL,
|
|
|
|
|
|
|
|
CERTIFICATE VARBINARY(max) DEFAULT NULL,
|
|
|
|
|
|
|
|
PRIMARY KEY (ID)
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE DM_DEVICE (
|
|
|
|
CREATE TABLE DM_DEVICE (
|
|
|
|
ID INTEGER identity NOT NULL,
|
|
|
|
ID INTEGER identity NOT NULL,
|
|
|
|
DESCRIPTION VARCHAR(max) DEFAULT NULL,
|
|
|
|
DESCRIPTION VARCHAR(max) DEFAULT NULL,
|
|
|
|