|
|
|
@ -20,7 +20,7 @@ IF NOT EXISTS(SELECT *
|
|
|
|
|
ID INTEGER IDENTITY (1, 1) NOT NULL,
|
|
|
|
|
GROUP_NAME VARCHAR(100) DEFAULT NULL,
|
|
|
|
|
DESCRIPTION VARCHAR(MAX) DEFAULT NULL,
|
|
|
|
|
OWNER VARCHAR(45) DEFAULT NULL,
|
|
|
|
|
OWNER VARCHAR(255) DEFAULT NULL,
|
|
|
|
|
TENANT_ID INTEGER DEFAULT 0,
|
|
|
|
|
PRIMARY KEY (ID)
|
|
|
|
|
);
|
|
|
|
@ -140,7 +140,7 @@ IF NOT EXISTS (SELECT * FROM SYS.OBJECTS WHERE OBJECT_ID = OBJECT_ID(N'[DBO].[D
|
|
|
|
|
CREATE TABLE DM_ENROLMENT (
|
|
|
|
|
ID INTEGER IDENTITY(1,1) NOT NULL,
|
|
|
|
|
DEVICE_ID INTEGER NOT NULL,
|
|
|
|
|
OWNER VARCHAR(50) NOT NULL,
|
|
|
|
|
OWNER VARCHAR(255) NOT NULL,
|
|
|
|
|
OWNERSHIP VARCHAR(45) DEFAULT NULL,
|
|
|
|
|
STATUS VARCHAR(50) NULL,
|
|
|
|
|
DATE_OF_ENROLMENT DATETIME2 DEFAULT NULL,
|
|
|
|
|