Merge pull request #817 from hasuniea/master

fixing windows db script issues
revert-dabc3590
Harshan Liyanage 7 years ago committed by GitHub
commit 0cb57d33e3

@ -38,6 +38,7 @@ IF NOT EXISTS (SELECT * FROM SYS.OBJECTS WHERE OBJECT_ID = OBJECT_ID(N'[DBO].[W
CREATE TABLE WINDOWS_ENROLLMENT_TOKEN (
ID INT NOT NULL IDENTITY,
TENANT_DOMAIN VARCHAR(45) NOT NULL,
TENANT_ID INT DEFAULT 0,
ENROLLMENT_TOKEN VARCHAR (100) NULL DEFAULT NULL,
DEVICE_ID VARCHAR (100) NOT NULL,
USERNAME VARCHAR (45) NOT NULL,

@ -36,6 +36,7 @@ ENGINE = InnoDB;
CREATE TABLE IF NOT EXISTS `WINDOWS_ENROLLMENT_TOKEN` (
`ID` INT NOT NULL AUTO_INCREMENT,
`TENANT_DOMAIN` VARCHAR(45) NOT NULL,
`TENANT_ID` INT DEFAULT 0,
`ENROLLMENT_TOKEN` VARCHAR(100) NULL,
`DEVICE_ID` VARCHAR(100) NULL,
`USERNAME` VARCHAR(45) NULL,

@ -37,6 +37,7 @@ CREATE TABLE WIN_FEATURE (
CREATE TABLE WINDOWS_ENROLLMENT_TOKEN (
ID INT NOT NULL,
TENANT_DOMAIN VARCHAR(45) NOT NULL,
TENANT_ID INT DEFAULT 0,
ENROLLMENT_TOKEN VARCHAR(100) NULL,
DEVICE_ID VARCHAR(100) NULL,
USERNAME VARCHAR(45) NULL,

@ -35,6 +35,7 @@ CREATE TABLE IF NOT EXISTS WIN_FEATURE (
CREATE TABLE IF NOT EXISTS WINDOWS_ENROLLMENT_TOKEN (
ID SERIAL NOT NULL,
TENANT_DOMAIN VARCHAR(45) NOT NULL,
TENANT_ID INTEGER DEFAULT 0,
ENROLLMENT_TOKEN VARCHAR(100) NULL,
DEVICE_ID VARCHAR(100) NULL,
USERNAME VARCHAR(45) NULL,

Loading…
Cancel
Save