From ae2279fce0a4f4ea0034ea1f0a803458630ba211 Mon Sep 17 00:00:00 2001 From: Madhukar Date: Wed, 12 Sep 2012 15:44:07 +0530 Subject: [PATCH] db field add for m_note --- .../patches/patch-0001-add-deposit_account_id-for-m_note.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 mifosng-db/patches/patch-0001-add-deposit_account_id-for-m_note.sql diff --git a/mifosng-db/patches/patch-0001-add-deposit_account_id-for-m_note.sql b/mifosng-db/patches/patch-0001-add-deposit_account_id-for-m_note.sql new file mode 100644 index 000000000..9dea4bf63 --- /dev/null +++ b/mifosng-db/patches/patch-0001-add-deposit_account_id-for-m_note.sql @@ -0,0 +1,4 @@ +ALTER TABLE `m_note` +ADD COLUMN `deposit_account_id` bigint(20) DEFAULT NULL AFTER `loan_transaction_id`, +ADD KEY `FK_m_note_m_deposit_account` (`deposit_account_id`), +ADD CONSTRAINT `FK_m_note_m_deposit_account` FOREIGN KEY (`deposit_account_id`) REFERENCES `m_deposit_account` (`id`);