|
|
|
@ -527,6 +527,7 @@ ENGINE = InnoDB;
|
|
|
|
|
CREATE VIEW DEVICE_INFO_VIEW AS
|
|
|
|
|
SELECT
|
|
|
|
|
DM_DEVICE.ID AS DEVICE_ID,
|
|
|
|
|
DM_DEVICE.DEVICE_IDENTIFICATION,
|
|
|
|
|
DM_DEVICE_TYPE.NAME AS PLATFORM,
|
|
|
|
|
DM_ENROLMENT.OWNERSHIP,
|
|
|
|
|
DM_ENROLMENT.STATUS AS CONNECTIVITY_STATUS,
|
|
|
|
@ -544,6 +545,7 @@ FROM DM_POLICY_COMPLIANCE_STATUS;
|
|
|
|
|
CREATE VIEW DEVICES_VIEW_1 AS
|
|
|
|
|
SELECT
|
|
|
|
|
DEVICE_INFO_VIEW.DEVICE_ID,
|
|
|
|
|
DEVICE_INFO_VIEW.DEVICE_IDENTIFICATION,
|
|
|
|
|
DEVICE_INFO_VIEW.PLATFORM,
|
|
|
|
|
DEVICE_INFO_VIEW.OWNERSHIP,
|
|
|
|
|
DEVICE_INFO_VIEW.CONNECTIVITY_STATUS,
|
|
|
|
@ -560,6 +562,7 @@ ORDER BY DEVICE_INFO_VIEW.DEVICE_ID;
|
|
|
|
|
CREATE VIEW DEVICES_VIEW_2 AS
|
|
|
|
|
SELECT
|
|
|
|
|
DM_DEVICE.ID AS DEVICE_ID,
|
|
|
|
|
DM_DEVICE.DEVICE_IDENTIFICATION,
|
|
|
|
|
DM_DEVICE_DETAIL.DEVICE_MODEL,
|
|
|
|
|
DM_DEVICE_DETAIL.VENDOR,
|
|
|
|
|
DM_DEVICE_DETAIL.OS_VERSION,
|
|
|
|
|