update DDL and demo dumps to patch-15
This commit is contained in:
@@ -856,7 +856,6 @@ CREATE TABLE `m_loan` (
|
||||
`repay_every` smallint(5) NOT NULL,
|
||||
`repayment_period_frequency_enum` smallint(5) NOT NULL,
|
||||
`amortization_method_enum` smallint(5) NOT NULL,
|
||||
`total_charges_due_at_disbursement_derived` decimal(19,6) DEFAULT NULL,
|
||||
`interest_calculated_from_date` date DEFAULT NULL,
|
||||
`expected_disbursedon_date` date DEFAULT NULL,
|
||||
`expected_firstrepaymenton_date` date DEFAULT NULL,
|
||||
@@ -876,10 +875,39 @@ CREATE TABLE `m_loan` (
|
||||
`writtenoffon_date` date DEFAULT NULL,
|
||||
`closedon_date` date DEFAULT NULL,
|
||||
`closedon_userid` bigint(20) DEFAULT NULL,
|
||||
`createdby_id` bigint(20) DEFAULT NULL,
|
||||
`created_date` datetime DEFAULT NULL,
|
||||
`lastmodified_date` datetime DEFAULT NULL,
|
||||
`lastmodifiedby_id` bigint(20) DEFAULT NULL,
|
||||
`total_charges_due_at_disbursement_derived` decimal(19,6) DEFAULT NULL,
|
||||
`principal_disbursed_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`principal_repaid_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`principal_writtenoff_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`principal_outstanding_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`principal_overdue_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`interest_charged_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`interest_repaid_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`interest_waived_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`interest_writtenoff_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`interest_outstanding_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`interest_overdue_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`fee_charges_charged_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`fee_charges_repaid_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`fee_charges_waived_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`fee_charges_writtenoff_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`fee_charges_outstanding_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`fee_charges_overdue_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`penalty_charges_charged_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`penalty_charges_repaid_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`penalty_charges_waived_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`penalty_charges_writtenoff_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`penalty_charges_outstanding_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`penalty_charges_overdue_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`total_expected_repayment_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`total_repayment_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`total_expected_costofloan_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`total_costofloan_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`total_waived_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`total_writtenoff_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`total_outstanding_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`total_overdue_derived` decimal(19,6) NOT NULL DEFAULT '0.000000',
|
||||
`overdue_since_date_derived` date DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `loan_account_no_UNIQUE` (`account_no`),
|
||||
UNIQUE KEY `loan_externalid_UNIQUE` (`external_id`),
|
||||
@@ -1353,17 +1381,9 @@ CREATE TABLE `m_product_deposit` (
|
||||
`is_lock_in_period_allowed` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`lock_in_period` bigint(20) DEFAULT NULL,
|
||||
`lock_in_period_type` smallint(5) NOT NULL DEFAULT '2',
|
||||
`createdby_id` bigint(20) DEFAULT NULL,
|
||||
`created_date` datetime DEFAULT NULL,
|
||||
`lastmodified_date` datetime DEFAULT NULL,
|
||||
`lastmodifiedby_id` bigint(20) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `name_deposit_product` (`name`),
|
||||
UNIQUE KEY `externalid_deposit_product` (`external_id`),
|
||||
KEY `FKJPW0000000000003` (`createdby_id`),
|
||||
KEY `FKJPW0000000000004` (`lastmodifiedby_id`),
|
||||
CONSTRAINT `FKJPX0000000000003` FOREIGN KEY (`createdby_id`) REFERENCES `m_appuser` (`id`),
|
||||
CONSTRAINT `FKJPX0000000000004` FOREIGN KEY (`lastmodifiedby_id`) REFERENCES `m_appuser` (`id`)
|
||||
UNIQUE KEY `externalid_deposit_product` (`external_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
@@ -1928,4 +1948,4 @@ UNLOCK TABLES;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
-- Dump completed on 2013-02-25 10:49:55
|
||||
-- Dump completed on 2013-02-27 23:31:00
|
||||
|
||||
Reference in New Issue
Block a user