|
|
@ -1,6 +1,3 @@
|
|
|
|
/* SQLINES EVALUATION VERSION TRUNCATES VARIABLE NAMES AND COMMENTS. */
|
|
|
|
|
|
|
|
/* OBTAIN A LICENSE AT WWW.SQLINES.COM FOR FULL CONVERSION. THANK YOU. */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE DM_DEVICE_TYPE (
|
|
|
|
CREATE TABLE DM_DEVICE_TYPE (
|
|
|
|
ID INT identity NOT NULL,
|
|
|
|
ID INT identity NOT NULL,
|
|
|
|
NAME VARCHAR(300) DEFAULT NULL,
|
|
|
|
NAME VARCHAR(300) DEFAULT NULL,
|
|
|
@ -100,7 +97,7 @@ CREATE TABLE DM_DEVICE_OPERATION_RESPONSE (
|
|
|
|
DM_OPERATION (ID) ON DELETE NO ACTION ON UPDATE NO ACTION
|
|
|
|
DM_OPERATION (ID) ON DELETE NO ACTION ON UPDATE NO ACTION
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
--- POLICY RELA... *** SQLINES FOR EVALUATION USE ONLY ***
|
|
|
|
-- POLICY RELATED TABLES --
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -386,9 +383,9 @@ CREATE TABLE DM_DEVICE_APPLICATION_MAPPING (
|
|
|
|
DM_APPLICATION (ID) ON DELETE NO ACTION ON UPDATE NO ACTION
|
|
|
|
DM_APPLICATION (ID) ON DELETE NO ACTION ON UPDATE NO ACTION
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
-- POLICY RELAT... *** SQLINES FOR EVALUATION USE ONLY ***
|
|
|
|
-- POLICY RELATED TABLES FINISHED --
|
|
|
|
|
|
|
|
|
|
|
|
-- NOTIFICATION... *** SQLINES FOR EVALUATION USE ONLY ***
|
|
|
|
-- NOTIFICATION TABLE --
|
|
|
|
CREATE TABLE DM_NOTIFICATION (
|
|
|
|
CREATE TABLE DM_NOTIFICATION (
|
|
|
|
NOTIFICATION_ID INTEGER IDENTITY NOT NULL,
|
|
|
|
NOTIFICATION_ID INTEGER IDENTITY NOT NULL,
|
|
|
|
DEVICE_ID INTEGER NOT NULL,
|
|
|
|
DEVICE_ID INTEGER NOT NULL,
|
|
|
@ -402,8 +399,8 @@ CREATE TABLE DM_NOTIFICATION (
|
|
|
|
CONSTRAINT fk_dm_operation_notification FOREIGN KEY (OPERATION_ID) REFERENCES
|
|
|
|
CONSTRAINT fk_dm_operation_notification 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
|
|
|
|
);
|
|
|
|
);
|
|
|
|
-- NOTIFICATION... *** SQLINES FOR EVALUATION USE ONLY ***
|
|
|
|
-- NOTIFICATION TABLE END --
|
|
|
|
|
|
|
|
|
|
|
|
-- TO:DO - Remo... *** SQLINES FOR EVALUATION USE ONLY ***
|
|
|
|
-- TO:DO - Remove this INSERT sql statement.
|
|
|
|
--Insert into D... *** SQLINES FOR EVALUATION USE ONLY ***
|
|
|
|
Insert into DM_DEVICE_TYPE (ID,NAME) VALUES (1, 'android');
|
|
|
|
--Insert into D... *** SQLINES FOR EVALUATION USE ONLY ***
|
|
|
|
Insert into DM_DEVICE_TYPE (ID,NAME) VALUES (2, 'ios');
|