From f179771b8d5b1d47f327d7676dca8a914c171d61 Mon Sep 17 00:00:00 2001 From: MithunKashyap Date: Sat, 28 Feb 2015 15:01:52 +0530 Subject: [PATCH] MIFOSX-1828:Updated Patch script for EntityMapping Feature --- .../migrations/core_db/V242__entitytoentitymappingrelation.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mifosng-provider/src/main/resources/sql/migrations/core_db/V242__entitytoentitymappingrelation.sql b/mifosng-provider/src/main/resources/sql/migrations/core_db/V242__entitytoentitymappingrelation.sql index 46ee929fa..7f4474a40 100644 --- a/mifosng-provider/src/main/resources/sql/migrations/core_db/V242__entitytoentitymappingrelation.sql +++ b/mifosng-provider/src/main/resources/sql/migrations/core_db/V242__entitytoentitymappingrelation.sql @@ -33,3 +33,6 @@ INSERT INTO `m_entity_relation` (`from_entity_type`, `to_entity_type`, `code_nam INSERT INTO `m_entity_relation` (`from_entity_type`, `to_entity_type`, `code_name`) VALUES (5, 2, 'role_access_to_loan_products'); INSERT INTO `m_entity_relation` (`from_entity_type`, `to_entity_type`, `code_name`) VALUES (5, 3, 'role_access_to_savings_products'); +INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('infrastructure', 'CREATE_ENTITYMAPPING', 'ENTITYMAPPING', 'CREATE', 0); +INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('infrastructure', 'UPDATE_ENTITYMAPPING', 'ENTITYMAPPING', 'UPDATE', 0); +INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('infrastructure', 'DELETE_ENTITYMAPPING', 'ENTITYMAPPING', 'DELETE', 0); \ No newline at end of file