update DDL and base reference data with patches 16 and 17.
This commit is contained in:
@@ -31,6 +31,7 @@ DROP TABLE IF EXISTS `m_loan_collateral`;
|
||||
DROP TABLE IF EXISTS `m_loan_officer_assignment_history`;
|
||||
DROP TABLE IF EXISTS `m_loan_repayment_schedule`;
|
||||
DROP TABLE IF EXISTS `m_loan_transaction`;
|
||||
DROP TABLE IF EXISTS `m_calendar`;
|
||||
DROP TABLE IF EXISTS `m_note`;
|
||||
DROP TABLE IF EXISTS `m_office`;
|
||||
DROP TABLE IF EXISTS `m_office_transaction`;
|
||||
@@ -150,6 +151,26 @@ CREATE TABLE `x_registered_table` (
|
||||
PRIMARY KEY (`registered_table_name`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE `m_calendar` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||
`entity_id` bigint(20) NOT NULL DEFAULT '0',
|
||||
`entity_type_enum` smallint(5) NOT NULL DEFAULT '0',
|
||||
`title` varchar(50) NOT NULL,
|
||||
`description` varchar(100) DEFAULT NULL,
|
||||
`location` varchar(50) DEFAULT NULL,
|
||||
`start_date` date NOT NULL,
|
||||
`end_date` date DEFAULT NULL,
|
||||
`created_date` datetime DEFAULT NULL,
|
||||
`duration` smallint(6) DEFAULT NULL,
|
||||
`calendar_type_enum` smallint(5) NOT NULL,
|
||||
`repeating` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`recurrence` varchar(100) NOT NULL,
|
||||
`remind_by_enum` smallint(5) DEFAULT NULL,
|
||||
`first_reminder` smallint(11) NOT NULL,
|
||||
`second_reminder` smallint(11) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ================= end of reference/lookup tables =============
|
||||
|
||||
-- DDL for office related tables
|
||||
|
||||
@@ -271,6 +271,13 @@ INSERT INTO `m_permission`
|
||||
('configuration', 'DEREGISTER_DATATABLE', 'DATATABLE', 'DEREGISTER', '1'),
|
||||
('configuration', 'DEREGISTER_DATATABLE_CHECKER', 'DATATABLE', 'DEREGISTER', '0'),
|
||||
('configuration', 'READ_AUDIT', 'AUDIT', 'READ', '0'),
|
||||
('configuration', 'CREATE_CALENDAR', 'CALENDAR', 'CREATE', '0'),
|
||||
('configuration', 'READ_CALENDAR', 'CALENDAR', 'READ', '0'),
|
||||
('configuration', 'UPDATE_CALENDAR', 'CALENDAR', 'UPDATE', '0'),
|
||||
('configuration', 'DELETE_CALENDAR', 'CALENDAR', 'DELETE', '0'),
|
||||
('configuration', 'CREATE_CALENDAR_CHECKER', 'CALENDAR', 'CREATE', '0'),
|
||||
('configuration', 'UPDATE_CALENDAR_CHECKER', 'CALENDAR', 'UPDATE', '0'),
|
||||
('configuration', 'DELETE_CALENDAR_CHECKER', 'CALENDAR', 'DELETE', '0'),
|
||||
('organisation', 'READ_MAKERCHECKER', 'MAKERCHECKER', 'READ', '0'),
|
||||
('organisation', 'READ_CHARGE', 'CHARGE', 'READ', '0'),
|
||||
('organisation', 'CREATE_CHARGE', 'CHARGE', 'CREATE', '1'),
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user