|
|
@ -446,6 +446,15 @@ CREATE INDEX IDX_DM_APPLICATION ON DM_APPLICATION(DEVICE_ID, ENROLMENT_ID, TENAN
|
|
|
|
|
|
|
|
|
|
|
|
-- POLICY RELATED TABLES FINISHED --
|
|
|
|
-- POLICY RELATED TABLES FINISHED --
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IF NOT EXISTS (SELECT * SYS.OBJECTS WHERE OBJECT_ID = OBJECT_ID(N'[DBO].[DM_APP_ICONS]') AND TYPE IN (N'U'))
|
|
|
|
|
|
|
|
CREATE TABLE DM_APP_ICONS (
|
|
|
|
|
|
|
|
ID INTEGER IDENTITY(1,1) NOT NULL,
|
|
|
|
|
|
|
|
ICON_PATH VARCHAR(150) DEFAULT NULL,
|
|
|
|
|
|
|
|
PACKAGE_NAME VARCHAR(150) NOT NULL,
|
|
|
|
|
|
|
|
VERSION VARCHAR(50) DEFAULT '1.1.0',
|
|
|
|
|
|
|
|
PRIMARY KEY (ID)
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
-- POLICY AND DEVICE GROUP MAPPING --
|
|
|
|
-- POLICY AND DEVICE GROUP MAPPING --
|
|
|
|
IF NOT EXISTS (SELECT * FROM SYS.OBJECTS WHERE OBJECT_ID = OBJECT_ID(N'[DBO].[DM_DEVICE_GROUP_POLICY]') AND TYPE IN (N'U'))
|
|
|
|
IF NOT EXISTS (SELECT * FROM SYS.OBJECTS WHERE OBJECT_ID = OBJECT_ID(N'[DBO].[DM_DEVICE_GROUP_POLICY]') AND TYPE IN (N'U'))
|
|
|
|
CREATE TABLE DM_DEVICE_GROUP_POLICY (
|
|
|
|
CREATE TABLE DM_DEVICE_GROUP_POLICY (
|
|
|
|