MIFOSX-1537 : added original schedule to history

This commit is contained in:
Pramod Nuthakki
2014-09-14 22:26:04 +05:30
parent f6853f681a
commit cb745a196d
17 changed files with 1620 additions and 1231 deletions
@@ -0,0 +1,20 @@
ALTER TABLE `m_loan_repayment_schedule_history`
DROP COLUMN `principal_completed_derived`,
DROP COLUMN `principal_writtenoff_derived`,
DROP COLUMN `interest_completed_derived`,
DROP COLUMN `interest_writtenoff_derived`,
DROP COLUMN `interest_waived_derived`,
DROP COLUMN `accrual_interest_derived`,
DROP COLUMN `fee_charges_completed_derived`,
DROP COLUMN `fee_charges_writtenoff_derived`,
DROP COLUMN `fee_charges_waived_derived`,
DROP COLUMN `accrual_fee_charges_derived`,
DROP COLUMN `penalty_charges_completed_derived`,
DROP COLUMN `penalty_charges_writtenoff_derived`,
DROP COLUMN `penalty_charges_waived_derived`,
DROP COLUMN `accrual_penalty_charges_derived`,
DROP COLUMN `total_paid_in_advance_derived`,
DROP COLUMN `total_paid_late_derived`,
DROP COLUMN `completed_derived`,
DROP COLUMN `obligations_met_on_date`,
ADD COLUMN `version` INT(5) NOT NULL;