Fix device mgt h2 DB script issue

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

@ -510,10 +510,10 @@ CREATE TABLE IF NOT EXISTS DM_DEVICE_GROUP_POLICY (
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

Loading…
Cancel
Save