|
|
|
@ -585,3 +585,16 @@ ORDER BY TENANT_ID, DEVICE_ID;
|
|
|
|
|
|
|
|
|
|
-- END OF DASHBOARD RELATED VIEWS --
|
|
|
|
|
|
|
|
|
|
-- CERTIFICATES TABLES --
|
|
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS DM_DEVICE_CERTIFICATE (
|
|
|
|
|
ID INTEGER auto_increment NOT NULL,
|
|
|
|
|
SERIAL_NUMBER VARCHAR(500) DEFAULT NULL,
|
|
|
|
|
CERTIFICATE BLOB DEFAULT NULL,
|
|
|
|
|
TENANT_ID INTEGER DEFAULT 0,
|
|
|
|
|
USERNAME VARCHAR(500) DEFAULT NULL,
|
|
|
|
|
PRIMARY KEY (ID)
|
|
|
|
|
)ENGINE = InnoDB;
|
|
|
|
|
|
|
|
|
|
-- END CERTIFICATES TABLES --
|
|
|
|
|
|
|
|
|
|