From 18d65f28906973c9e1ff3271af77dbfb0c243189 Mon Sep 17 00:00:00 2001 From: Vishwas Babu AJ Date: Mon, 27 May 2013 12:21:36 +0530 Subject: [PATCH] bug fixes for dcument upload --- .../core_db/V44__document-increase-size-of-column-type.sql | 2 ++ .../mifosplatform/accounting/common/AccountingConstants.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 mifosng-db/migrations/core_db/V44__document-increase-size-of-column-type.sql diff --git a/mifosng-db/migrations/core_db/V44__document-increase-size-of-column-type.sql b/mifosng-db/migrations/core_db/V44__document-increase-size-of-column-type.sql new file mode 100755 index 000000000..c09286cff --- /dev/null +++ b/mifosng-db/migrations/core_db/V44__document-increase-size-of-column-type.sql @@ -0,0 +1,2 @@ +ALTER TABLE `m_document` + CHANGE COLUMN `type` `type` VARCHAR(500) NULL DEFAULT NULL AFTER `size`; \ No newline at end of file diff --git a/mifosng-provider/src/main/java/org/mifosplatform/accounting/common/AccountingConstants.java b/mifosng-provider/src/main/java/org/mifosplatform/accounting/common/AccountingConstants.java index 6fc68c29c..f9b47b31f 100755 --- a/mifosng-provider/src/main/java/org/mifosplatform/accounting/common/AccountingConstants.java +++ b/mifosng-provider/src/main/java/org/mifosplatform/accounting/common/AccountingConstants.java @@ -103,7 +103,7 @@ public class AccountingConstants { } } - /*** Accounting placeholders for cash based accounting for loan products ***/ + /*** Accounting placeholders for cash based accounting for savings products ***/ public static enum CASH_ACCOUNTS_FOR_SAVINGS { SAVINGS_REFERENCE(1), SAVINGS_CONTROL(2), INTEREST_ON_SAVINGS(3), INCOME_FROM_FEES(4);