|
|
@ -509,11 +509,11 @@ CREATE TABLE IF NOT EXISTS DM_DEVICE_GROUP_POLICY (
|
|
|
|
-- END OF POLICY AND DEVICE GROUP MAPPING --
|
|
|
|
-- END OF POLICY AND DEVICE GROUP MAPPING --
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS DM_DEVICE_TYPE_PLATFORM(
|
|
|
|
CREATE TABLE IF NOT EXISTS DM_DEVICE_TYPE_PLATFORM (
|
|
|
|
ID int NOT NULL AUTO_INCREMENT,
|
|
|
|
ID INT NOT NULL AUTO_INCREMENT,
|
|
|
|
DEVICE_TYPE_ID int NULL DEFAULT 0,
|
|
|
|
DEVICE_TYPE_ID INT NULL DEFAULT 0,
|
|
|
|
VERSION_NAME varchar(100) NULL,
|
|
|
|
VERSION_NAME VARCHAR(100) NULL,
|
|
|
|
VERSION_STATUS varchar(100) NULL DEFAULT 'ACTIVE',
|
|
|
|
VERSION_STATUS VARCHAR(100) NULL DEFAULT 'ACTIVE',
|
|
|
|
PRIMARY KEY (ID),
|
|
|
|
PRIMARY KEY (ID),
|
|
|
|
CONSTRAINT DM_DEVICE_TYPE_DM_DEVICE_TYPE_PLATFORM_MAPPING
|
|
|
|
CONSTRAINT DM_DEVICE_TYPE_DM_DEVICE_TYPE_PLATFORM_MAPPING
|
|
|
|
FOREIGN KEY (DEVICE_TYPE_ID)
|
|
|
|
FOREIGN KEY (DEVICE_TYPE_ID)
|
|
|
@ -523,7 +523,7 @@ CREATE TABLE IF NOT EXISTS DM_DEVICE_TYPE_PLATFORM(
|
|
|
|
DEVICE_TYPE_ID,
|
|
|
|
DEVICE_TYPE_ID,
|
|
|
|
VERSION_NAME
|
|
|
|
VERSION_NAME
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
-- DASHBOARD RELATED VIEWS --
|
|
|
|
-- DASHBOARD RELATED VIEWS --
|
|
|
|
CREATE VIEW POLICY_COMPLIANCE_INFO AS
|
|
|
|
CREATE VIEW POLICY_COMPLIANCE_INFO AS
|
|
|
|