From d0e19c440e8665d4e64f2d8399e92f489f19e23f Mon Sep 17 00:00:00 2001 From: Vishwas Babu AJ Date: Sun, 24 Mar 2013 19:57:33 +0530 Subject: [PATCH] updating demo server --- mifosng-db/0001a-mifosplatform-core-ddl-latest.sql | 1 - mifosng-db/0002-mifosx-base-reference-data-utf8.sql | 9 +++++++++ .../1-group_name_modified_to_not_null.sql | 0 .../2-calendar_and_calendar_instance_table_scripts.sql | 0 ...-savings-schema-replace-with-basic-savings-schema.sql | 0 ...efault_to_no_preselected_maker_check_transactions.sql | 0 ...ource_id_to_audit_log_for_datatable_1_to_many_use.sql | 0 .../6-basic-savings-with-deposit-and-withdrawal.sql | 0 .../7-missing-loan-transaction-types.sql | 8 ++++++++ 9 files changed, 17 insertions(+), 1 deletion(-) rename mifosng-db/{patches => patchesPutOnDemoServer20130324}/1-group_name_modified_to_not_null.sql (100%) rename mifosng-db/{patches => patchesPutOnDemoServer20130324}/2-calendar_and_calendar_instance_table_scripts.sql (100%) rename mifosng-db/{patches => patchesPutOnDemoServer20130324}/3-drop-hugo-savings-schema-replace-with-basic-savings-schema.sql (100%) rename mifosng-db/{patches => patchesPutOnDemoServer20130324}/4-default_to_no_preselected_maker_check_transactions.sql (100%) rename mifosng-db/{patches => patchesPutOnDemoServer20130324}/5-add-subresource_id_to_audit_log_for_datatable_1_to_many_use.sql (100%) rename mifosng-db/{patches => patchesPutOnDemoServer20130324}/6-basic-savings-with-deposit-and-withdrawal.sql (100%) create mode 100755 mifosng-db/patchesPutOnDemoServer20130324/7-missing-loan-transaction-types.sql diff --git a/mifosng-db/0001a-mifosplatform-core-ddl-latest.sql b/mifosng-db/0001a-mifosplatform-core-ddl-latest.sql index 5d0cc050e..4a144c76a 100644 --- a/mifosng-db/0001a-mifosplatform-core-ddl-latest.sql +++ b/mifosng-db/0001a-mifosplatform-core-ddl-latest.sql @@ -34,7 +34,6 @@ 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`; diff --git a/mifosng-db/0002-mifosx-base-reference-data-utf8.sql b/mifosng-db/0002-mifosx-base-reference-data-utf8.sql index d33a491df..f6e7d9b0b 100644 --- a/mifosng-db/0002-mifosx-base-reference-data-utf8.sql +++ b/mifosng-db/0002-mifosx-base-reference-data-utf8.sql @@ -49,12 +49,21 @@ VALUES ('transaction_type_enum', '5', 'Repayment At Disbursement', 'Repayment At INSERT INTO `r_enum_value` (`enum_name`, `enum_id`, `enum_message_property`, `enum_value`) VALUES ('transaction_type_enum', '6', 'Write-Off', 'Write-Off'); +INSERT INTO `r_enum_value` (`enum_name`, `enum_id`, `enum_message_property`, `enum_value`) +VALUES ('transaction_type_enum', '7', 'Marked for Rescheduling', 'Marked for Rescheduling'); + INSERT INTO `r_enum_value` (`enum_name`, `enum_id`, `enum_message_property`, `enum_value`) VALUES ('transaction_type_enum', '8', 'Recovery Repayment', 'Recovery Repayment'); INSERT INTO `r_enum_value` (`enum_name`, `enum_id`, `enum_message_property`, `enum_value`) VALUES ('transaction_type_enum', '9', 'Waive Charges', 'Waive Charges'); +INSERT INTO `r_enum_value` (`enum_name`, `enum_id`, `enum_message_property`, `enum_value`) +VALUES ('transaction_type_enum', '10', 'Apply Charges', 'Apply Charges'); + +INSERT INTO `r_enum_value` (`enum_name`, `enum_id`, `enum_message_property`, `enum_value`) +VALUES ('transaction_type_enum', '11', 'Apply Interest', 'Apply Interest'); + INSERT INTO `m_currency` (`id`,`code`,`decimal_places`,`display_symbol`,`name`, `internationalized_name_code`) diff --git a/mifosng-db/patches/1-group_name_modified_to_not_null.sql b/mifosng-db/patchesPutOnDemoServer20130324/1-group_name_modified_to_not_null.sql similarity index 100% rename from mifosng-db/patches/1-group_name_modified_to_not_null.sql rename to mifosng-db/patchesPutOnDemoServer20130324/1-group_name_modified_to_not_null.sql diff --git a/mifosng-db/patches/2-calendar_and_calendar_instance_table_scripts.sql b/mifosng-db/patchesPutOnDemoServer20130324/2-calendar_and_calendar_instance_table_scripts.sql similarity index 100% rename from mifosng-db/patches/2-calendar_and_calendar_instance_table_scripts.sql rename to mifosng-db/patchesPutOnDemoServer20130324/2-calendar_and_calendar_instance_table_scripts.sql diff --git a/mifosng-db/patches/3-drop-hugo-savings-schema-replace-with-basic-savings-schema.sql b/mifosng-db/patchesPutOnDemoServer20130324/3-drop-hugo-savings-schema-replace-with-basic-savings-schema.sql similarity index 100% rename from mifosng-db/patches/3-drop-hugo-savings-schema-replace-with-basic-savings-schema.sql rename to mifosng-db/patchesPutOnDemoServer20130324/3-drop-hugo-savings-schema-replace-with-basic-savings-schema.sql diff --git a/mifosng-db/patches/4-default_to_no_preselected_maker_check_transactions.sql b/mifosng-db/patchesPutOnDemoServer20130324/4-default_to_no_preselected_maker_check_transactions.sql similarity index 100% rename from mifosng-db/patches/4-default_to_no_preselected_maker_check_transactions.sql rename to mifosng-db/patchesPutOnDemoServer20130324/4-default_to_no_preselected_maker_check_transactions.sql diff --git a/mifosng-db/patches/5-add-subresource_id_to_audit_log_for_datatable_1_to_many_use.sql b/mifosng-db/patchesPutOnDemoServer20130324/5-add-subresource_id_to_audit_log_for_datatable_1_to_many_use.sql similarity index 100% rename from mifosng-db/patches/5-add-subresource_id_to_audit_log_for_datatable_1_to_many_use.sql rename to mifosng-db/patchesPutOnDemoServer20130324/5-add-subresource_id_to_audit_log_for_datatable_1_to_many_use.sql diff --git a/mifosng-db/patches/6-basic-savings-with-deposit-and-withdrawal.sql b/mifosng-db/patchesPutOnDemoServer20130324/6-basic-savings-with-deposit-and-withdrawal.sql similarity index 100% rename from mifosng-db/patches/6-basic-savings-with-deposit-and-withdrawal.sql rename to mifosng-db/patchesPutOnDemoServer20130324/6-basic-savings-with-deposit-and-withdrawal.sql diff --git a/mifosng-db/patchesPutOnDemoServer20130324/7-missing-loan-transaction-types.sql b/mifosng-db/patchesPutOnDemoServer20130324/7-missing-loan-transaction-types.sql new file mode 100755 index 000000000..19541d639 --- /dev/null +++ b/mifosng-db/patchesPutOnDemoServer20130324/7-missing-loan-transaction-types.sql @@ -0,0 +1,8 @@ +INSERT INTO `r_enum_value` (`enum_name`, `enum_id`, `enum_message_property`, `enum_value`) +VALUES ('transaction_type_enum', '7', 'Marked for Rescheduling', 'Marked for Rescheduling'); + +INSERT INTO `r_enum_value` (`enum_name`, `enum_id`, `enum_message_property`, `enum_value`) +VALUES ('transaction_type_enum', '10', 'Apply Charges', 'Apply Charges'); + +INSERT INTO `r_enum_value` (`enum_name`, `enum_id`, `enum_message_property`, `enum_value`) +VALUES ('transaction_type_enum', '11', 'Apply Interest', 'Apply Interest');