diff --git a/mifosng-db/patches/00002-client_indentifier_constraints.sql b/mifosng-db/patches/00002-client_indentifier_constraints.sql deleted file mode 100755 index cdb652f3b..000000000 --- a/mifosng-db/patches/00002-client_indentifier_constraints.sql +++ /dev/null @@ -1,5 +0,0 @@ -ALTER TABLE `m_client_identifier` - ADD UNIQUE INDEX `unique_identifier_key` (`document_type_id`, `document_key`); - -ALTER TABLE `m_client_identifier` - ADD UNIQUE INDEX `unique_client_identifier` (`client_id`, `document_type_id`); \ No newline at end of file diff --git a/mifosng-db/patches/patch-0012-loan_officer_reassignment_history.sql b/mifosng-db/patches/patch-0012-loan_officer_reassignment_history.sql index caee211f5..d68b716b8 100644 --- a/mifosng-db/patches/patch-0012-loan_officer_reassignment_history.sql +++ b/mifosng-db/patches/patch-0012-loan_officer_reassignment_history.sql @@ -1,4 +1,3 @@ -drop table `m_loan_officer_assignment_history`; CREATE TABLE `m_loan_officer_assignment_history` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `loan_id` bigint(20) NOT NULL , diff --git a/mifosng-db/patches/patch-0013-maker-checker.sql b/mifosng-db/patches/patch-0013-maker-checker.sql index 80a9b58ec..9bd5cda76 100644 --- a/mifosng-db/patches/patch-0013-maker-checker.sql +++ b/mifosng-db/patches/patch-0013-maker-checker.sql @@ -1,4 +1,3 @@ -drop table `m_maker_checker`; CREATE TABLE `m_maker_checker` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `task_name` varchar(100) NOT NULL, diff --git a/mifosng-db/patches/patch-0014-command-event-source-table.sql b/mifosng-db/patches/patch-0014-command-event-source-table.sql index 0db85e878..a5dc6c5c7 100644 --- a/mifosng-db/patches/patch-0014-command-event-source-table.sql +++ b/mifosng-db/patches/patch-0014-command-event-source-table.sql @@ -1,6 +1,4 @@ drop table `m_maker_checker`; -drop table `m_command_event_source`; -drop table `m_portfolio_command_source`; CREATE TABLE `m_portfolio_command_source` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `api_operation` varchar(20) NOT NULL, diff --git a/mifosng-db/patches/patch-MIFOSX-126a-Rename_any_Report_and_Datatable_permissions.sql b/mifosng-db/patches/patch-0015-MIFOSX-126a-Rename_any_Report_and_Datatable_permissions.sql similarity index 100% rename from mifosng-db/patches/patch-MIFOSX-126a-Rename_any_Report_and_Datatable_permissions.sql rename to mifosng-db/patches/patch-0015-MIFOSX-126a-Rename_any_Report_and_Datatable_permissions.sql diff --git a/mifosng-db/patches/patch-MIFOSX-126b-UpdateReportListingParameters.sql b/mifosng-db/patches/patch-0015-MIFOSX-126b-UpdateReportListingParameters.sql similarity index 100% rename from mifosng-db/patches/patch-MIFOSX-126b-UpdateReportListingParameters.sql rename to mifosng-db/patches/patch-0015-MIFOSX-126b-UpdateReportListingParameters.sql diff --git a/mifosng-db/patches/patch-MIFOSX-126c-Update_m_permission_ddl.sql b/mifosng-db/patches/patch-0015-MIFOSX-126c-Update_m_permission_ddl.sql similarity index 100% rename from mifosng-db/patches/patch-MIFOSX-126c-Update_m_permission_ddl.sql rename to mifosng-db/patches/patch-0015-MIFOSX-126c-Update_m_permission_ddl.sql diff --git a/mifosng-db/patches/patch-0016-Mifosx-126-PermissionsOverhaulDDL.sql b/mifosng-db/patches/patch-0016-Mifosx-126-PermissionsOverhaulDDL.sql index cbdf66555..f8f7f1bb8 100644 --- a/mifosng-db/patches/patch-0016-Mifosx-126-PermissionsOverhaulDDL.sql +++ b/mifosng-db/patches/patch-0016-Mifosx-126-PermissionsOverhaulDDL.sql @@ -3,7 +3,6 @@ ALTER TABLE m_permission ADD COLUMN `entity_name` VARCHAR(100) NULL AFTER `default_name` , ADD COLUMN `action_name` VARCHAR(100) NULL AFTER `entity_name` ; - /* this scripts removes all current m_role_permission and m_permission entries and then inserts new m_permission entries and just one m_role_permission entry diff --git a/mifosng-db/patches/patch-0018-add-maker-checker-flag-to-permissions.sql b/mifosng-db/patches/patch-0019-add-maker-checker-flag-to-permissions.sql similarity index 100% rename from mifosng-db/patches/patch-0018-add-maker-checker-flag-to-permissions.sql rename to mifosng-db/patches/patch-0019-add-maker-checker-flag-to-permissions.sql