Fix device mgt h2 DB script issue

feature/appm-store/pbac
lasanthaDLPDS 5 years ago
parent 061317c438
commit 4d8446ff8e

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

Loading…
Cancel
Save