|
|
@ -35,7 +35,7 @@ CREATE TABLE DM_CONFIG_OPERATION (
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE DM_COMMAND_OPERATION (
|
|
|
|
CREATE TABLE DM_COMMAND_OPERATION (
|
|
|
|
OPERATION_ID INTEGER NOT NULL,
|
|
|
|
OPERATION_ID INTEGER NOT NULL,
|
|
|
|
ENABLED BIT NOT NULL DEFAULT FALSE,
|
|
|
|
ENABLED BIT NOT NULL DEFAULT 'FALSE',
|
|
|
|
PRIMARY KEY (OPERATION_ID),
|
|
|
|
PRIMARY KEY (OPERATION_ID),
|
|
|
|
CONSTRAINT fk_dm_operation_command FOREIGN KEY (OPERATION_ID) REFERENCES
|
|
|
|
CONSTRAINT fk_dm_operation_command FOREIGN KEY (OPERATION_ID) REFERENCES
|
|
|
|
DM_OPERATION (ID) ON DELETE NO ACTION ON UPDATE NO ACTION
|
|
|
|
DM_OPERATION (ID) ON DELETE NO ACTION ON UPDATE NO ACTION
|
|
|
@ -337,20 +337,6 @@ CREATE TABLE DM_POLICY_COMPLIANCE_FEATURES (
|
|
|
|
ON UPDATE NO ACTION
|
|
|
|
ON UPDATE NO ACTION
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE DM_ENROLMENT (
|
|
|
|
|
|
|
|
ID INTEGER IDENTITY NOT NULL,
|
|
|
|
|
|
|
|
DEVICE_ID INTEGER NOT NULL,
|
|
|
|
|
|
|
|
OWNER VARCHAR(50) NOT NULL,
|
|
|
|
|
|
|
|
OWNERSHIP VARCHAR(45) DEFAULT NULL,
|
|
|
|
|
|
|
|
STATUS VARCHAR(50) NULL,
|
|
|
|
|
|
|
|
DATE_OF_ENROLMENT DATETIME2(0) DEFAULT NULL,
|
|
|
|
|
|
|
|
DATE_OF_LAST_UPDATE DATETIME2(0) DEFAULT NULL,
|
|
|
|
|
|
|
|
TENANT_ID INT NOT NULL,
|
|
|
|
|
|
|
|
PRIMARY KEY (ID),
|
|
|
|
|
|
|
|
CONSTRAINT fk_dm_device_enrolment FOREIGN KEY (DEVICE_ID) REFERENCES
|
|
|
|
|
|
|
|
DM_DEVICE (ID) ON DELETE NO ACTION ON UPDATE NO ACTION
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE DM_APPLICATION (
|
|
|
|
CREATE TABLE DM_APPLICATION (
|
|
|
|
ID INTEGER IDENTITY NOT NULL,
|
|
|
|
ID INTEGER IDENTITY NOT NULL,
|
|
|
|
NAME VARCHAR(150) NOT NULL,
|
|
|
|
NAME VARCHAR(150) NOT NULL,
|
|
|
|