mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Removing white spaces from the policy management and making data time fileds long
This commit is contained in:
parent
3ee767f1b2
commit
78cc3b0070
@ -41,17 +41,14 @@ public class PolicyManagementServiceComponent {
|
||||
protected void activate(ComponentContext componentContext) {
|
||||
|
||||
try {
|
||||
|
||||
PolicyConfigurationManager.getInstance().initConfig();
|
||||
|
||||
PolicyManagementConfig config = PolicyConfigurationManager.getInstance().getDeviceManagementConfig();
|
||||
|
||||
DataSourceConfig dsConfig = config.getPolicyManagementRepository().getDataSourceConfig();
|
||||
PolicyManagementDAOFactory.init(dsConfig);
|
||||
|
||||
|
||||
} catch (Throwable t) {
|
||||
|
||||
String msg = "Error occurred while initializing the Policy management core.";
|
||||
log.error(msg, t);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -10,8 +10,8 @@ CREATE TABLE IF NOT EXISTS DM_DEVICE
|
||||
ID VARCHAR(20) NOT NULL,
|
||||
DESCRIPTION TEXT NULL DEFAULT NULL,
|
||||
NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
DATE_OF_ENROLLMENT DATETIME NULL DEFAULT NULL,
|
||||
DATE_OF_LAST_UPDATE DATETIME NULL DEFAULT NULL,
|
||||
DATE_OF_ENROLLMENT BIGINT NULL DEFAULT NULL,
|
||||
DATE_OF_LAST_UPDATE BIGINT NULL DEFAULT NULL,
|
||||
OWNERSHIP VARCHAR(45) NULL DEFAULT NULL,
|
||||
STATUS VARCHAR(15) NULL DEFAULT NULL,
|
||||
DEVICE_TYPE_ID INT(11) NULL DEFAULT NULL,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user