INSERT INTO PaymentTypeMaster(id, payment_class_id, name) VALUES
(11, 1, 'Value-dated Disbursement');

ALTER TABLE LoanPaymentARLog
	DROP FOREIGN KEY LoanPaymentARLog_ibfk_1,
	DROP FOREIGN KEY LoanPaymentARLog_ibfk_2;
RENAME TABLE LoanPaymentARLog TO AccountPaymentARLog;
ALTER TABLE AccountPaymentARLog 
	ADD FOREIGN KEY (user_id) REFERENCES User (id) ON DELETE NO ACTION ON UPDATE CASCADE,
  	ADD FOREIGN KEY (action_id) REFERENCES LogActionTypeMaster (id) ON DELETE NO ACTION ON UPDATE CASCADE;
