forked from apache/fineract
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request apache#17 from awaleram/phase+23/12/2014
phaPhase+23/12/2014
- Loading branch information
Showing
5 changed files
with
53 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...es/sql/migrations/core_db/V99028__CreateOfficeDetails_And_InsertInto_X_Register_Table.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
CREATE TABLE `officedetails` ( | ||
`office_id` BIGINT(20) NOT NULL, | ||
`sms_enabled` BIT(1) NOT NULL, | ||
PRIMARY KEY (`office_id`), | ||
CONSTRAINT `fk_officedetails_office_id` FOREIGN KEY (`office_id`) REFERENCES `m_office` (`id`) | ||
) | ||
COLLATE='utf8_general_ci' | ||
ENGINE=InnoDB; | ||
|
||
INSERT INTO `x_registered_table` (`registered_table_name`, `application_table_name`, `category`) VALUES ('OfficeDetails', 'm_office', 100); | ||
|
||
INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('datatable', 'CREATE_OfficeDetails', 'OfficeDetails', 'CREATE', 1); | ||
INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('datatable', 'CREATE_OfficeDetails_CHECKER', 'OfficeDetails', 'CREATE', 0); | ||
INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('datatable', 'READ_OfficeDetails', 'OfficeDetails', 'READ', 0); | ||
INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('datatable', 'UPDATE_OfficeDetails', 'OfficeDetails', 'UPDATE', 1); | ||
INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('datatable', 'UPDATE_OfficeDetails_CHECKER', 'OfficeDetails', 'UPDATE', 0); | ||
INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('datatable', 'DELETE_OfficeDetails', 'OfficeDetails', 'DELETE', 1); | ||
INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('datatable', 'DELETE_OfficeDetails_CHECKER', 'OfficeDetails', 'DELETE', 0); |
25 changes: 25 additions & 0 deletions
25
...grations/core_db/V99029__InsertInJobTable_InvestmetBatchJob_and_Investment_permission.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
INSERT INTO `job` (`name`, `display_name`, `cron_expression`, `create_time`, `task_priority`, `group_name`, `previous_run_start_time`, `next_run_time`, `job_key`, `initializing_errorlog`, `is_active`, `currently_running`, `updates_allowed`, `scheduler_group`, `is_misfired`) VALUES ('Distribute Investment Earning', 'Distribute Investment Earning', '0 0 12 1/1 * ? *', '2015-08-17 19:01:31', 5, NULL, NULL, '2015-12-23 12:00:00', 'Distribute Investment EarningJobDetail1 _ DEFAULT', NULL, 1, 0, 1, 0, 0); | ||
|
||
|
||
|
||
|
||
|
||
INSERT INTO m_permission (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('portfolio', 'CREATE_SAVINGINVESTMENT', 'SAVINGINVESTMENT', 'CREATE', 0); | ||
|
||
INSERT INTO m_permission (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('portfolio', 'DELETE_SAVINGINVESTMENT', 'SAVINGINVESTMENT', 'DELETE', 0); | ||
|
||
INSERT INTO m_permission (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('portfolio', 'DELETE_LOANINVESTMENT', 'LOANINVESTMENT', 'DELETE', 0); | ||
|
||
INSERT INTO m_permission (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('portfolio', 'CREATE_LOANINVESTMENT', 'LOANINVESTMENT', 'CREATE', 0); | ||
|
||
|
||
INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('portfolio', 'CLOSE_LOANINVESTMENT', 'LOANINVESTMENT', 'CLOSE', 0); | ||
|
||
|
||
|
||
INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('portfolio', 'CLOSE_SAVINGINVESTMENT', 'SAVINGINVESTMENT', 'CLOSE', 0); | ||
|
||
|
||
INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('portfolio', 'UPDATE_SAVINGINVESTMENT', 'SAVINGINVESTMENT', 'UPDATE', 0); | ||
|
||
INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('portfolio', 'UPDATE_LOANINVESTMENT', 'LOANINVESTMENT', 'UPDATE', 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters