diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/h2_android.sql b/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/h2_android.sql index 450cf880e..bd3011ca6 100644 --- a/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/h2_android.sql +++ b/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/h2_android.sql @@ -28,3 +28,30 @@ CREATE TABLE IF NOT EXISTS `AD_FEATURE` ( `DESCRIPTION` VARCHAR(200) NULL , PRIMARY KEY (`ID`) ); + +-- ----------------------------------------------------- +-- TODO remove this later +-- ----------------------------------------------------- + +INSERT INTO AD_FEATURE (CODE, NAME, DESCRIPTION) +VALUES +('DEVICE_LOCK', 'DEVICE_LOCK', 'Lock the device'), +('DEVICE_LOCATION', 'DEVICE_LOCATION', 'Request coordinates of device location'), +('WIFI', 'WIFI', 'Setting up wifi configuration'), +('CAMERA', 'CAMERA', 'Enable or disable camera'), +('EMAIL', 'EMAIL', 'Configure email settings'), +('DEVICE_MUTE', 'DEVICE_MUTE', 'Enable mute in the device'), +('PASSWORD_POLICY', 'PASSWORD_POLICY', 'Set up password policy'), +('DEVICE_INFO', 'DEVICE_INFO', 'Request device information'), +('ENTERPRISE_WIPE', 'ENTERPRISE_WIPE', 'Remove enterprise applications'), +('CLEAR_PASSWORD', 'CLEAR_PASSWORD', 'Clear current password'), +('WIPE_DATA', 'WIPE_DATA', 'Factory reset the device'), +('APPLICATION_LIST', 'APPLICATION_LIST', 'Request list of current installed applications'), +('CHANGE_LOCK_CODE', 'CHANGE_LOCK_CODE', 'Change current lock code'), +('INSTALL_APPLICATION', 'INSTALL_APPLICATION', 'Install Enterprise or Market application'), +('UNINSTALL_APPLICATION', 'UNINSTALL_APPLICATION', 'Uninstall application'), +('BLACKLIST_APPLICATIONS', 'BLACKLIST_APPLICATIONS', 'Blacklist applications'), +('ENCRYPT_STORAGE', 'ENCRYPT_STORAGE', 'Encrypt storage'), +('DEVICE_RING', 'DEVICE_RING', 'Ring the device'), +('PASSCODE_POLICY', 'PASSCODE_POLICY', 'Set passcode policy'), +('NOTIFICATION', 'NOTIFICATION', 'Send notification');