diff --git a/mifosng-db/0001a-mifos-platform-base-ddl-schema.sql b/mifosng-db/0001a-mifos-platform-base-ddl-schema.sql index d974b4995..e84847c85 100644 --- a/mifosng-db/0001a-mifos-platform-base-ddl-schema.sql +++ b/mifosng-db/0001a-mifos-platform-base-ddl-schema.sql @@ -290,6 +290,7 @@ CREATE TABLE `portfolio_product_savings` ( `currency_code` varchar(3) NOT NULL, `currency_digits` smallint(5) NOT NULL, `interest_rate` decimal(19,6) NOT NULL, + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', `createdby_id` bigint(20) DEFAULT NULL, `created_date` datetime DEFAULT NULL, `lastmodified_date` datetime DEFAULT NULL, diff --git a/mifosng-db/patches/patch-0003_Add_deleted_to_SavingsProduct.sql b/mifosng-db/patches/patch-0003_Add_deleted_to_SavingsProduct.sql new file mode 100644 index 000000000..5df17baca --- /dev/null +++ b/mifosng-db/patches/patch-0003_Add_deleted_to_SavingsProduct.sql @@ -0,0 +1,2 @@ +ALTER TABLE `portfolio_product_savings` +ADD COLUMN `is_deleted` tinyint(1) NOT NULL DEFAULT '0' AFTER `interest_rate`; \ No newline at end of file