Merge branch 'application-mgt-new' into 'application-mgt-new'

Fix device mgt h2 DB script issue

See merge request entgra/carbon-device-mgt!136
feature/appm-store/pbac
Dharmakeerthi Lasantha 6 years ago
commit 33521bcb90

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