From 2c6782ca25f14f23a083985684bfb101fb89111e Mon Sep 17 00:00:00 2001 From: John Woodlock Date: Thu, 16 Aug 2012 13:05:09 +1000 Subject: [PATCH] add delete flag to o_charge --- mifosng-db/0001a-mifos-platform-base-ddl-schema.sql | 3 +++ mifosng-db/patches/patch-0004-o_charge-table.sql | 1 + 2 files changed, 4 insertions(+) diff --git a/mifosng-db/0001a-mifos-platform-base-ddl-schema.sql b/mifosng-db/0001a-mifos-platform-base-ddl-schema.sql index 33a3a3b0e..5ed430565 100644 --- a/mifosng-db/0001a-mifos-platform-base-ddl-schema.sql +++ b/mifosng-db/0001a-mifos-platform-base-ddl-schema.sql @@ -15,6 +15,8 @@ DROP TABLE IF EXISTS `portfolio_note`; DROP TABLE IF EXISTS `portfolio_loan_transaction`; DROP TABLE IF EXISTS `portfolio_loan_repayment_schedule`; DROP TABLE IF EXISTS `portfolio_loan`; +DROP TABLE IF EXISTS `portfolio_deposit_account`; +DROP TABLE IF EXISTS `portfolio_group_client`; DROP TABLE IF EXISTS `portfolio_client`; DROP TABLE IF EXISTS `portfolio_group`; DROP TABLE IF EXISTS `portfolio_product_loan`; @@ -100,6 +102,7 @@ CREATE TABLE `o_charge` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(100) DEFAULT NULL, `amount` decimal(19,6) NOT NULL, + `is_deleted` tinyint(1) NOT NULL DEFAULT 0, `createdby_id` bigint(20) DEFAULT NULL, `created_date` datetime DEFAULT NULL, `lastmodifiedby_id` bigint(20) DEFAULT NULL, diff --git a/mifosng-db/patches/patch-0004-o_charge-table.sql b/mifosng-db/patches/patch-0004-o_charge-table.sql index a864bf98d..7be917492 100644 --- a/mifosng-db/patches/patch-0004-o_charge-table.sql +++ b/mifosng-db/patches/patch-0004-o_charge-table.sql @@ -2,6 +2,7 @@ CREATE TABLE `o_charge` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(100) DEFAULT NULL, `amount` decimal(19,6) NOT NULL, + `is_deleted` tinyint(1) NOT NULL DEFAULT 0, `createdby_id` bigint(20) DEFAULT NULL, `created_date` datetime DEFAULT NULL, `lastmodifiedby_id` bigint(20) DEFAULT NULL,