Basic for rd schedule creation-1 Schedule creation for RD PrintPdf For FD Print RRMacs Demo FD Certificate Generation
19 lines
774 B
SQL
19 lines
774 B
SQL
|
|
DROP TABLE IF EXISTS `m_saving_schedule`;
|
|
CREATE TABLE `m_saving_schedule` (
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
|
`saving_account_id` bigint(20) NOT NULL,
|
|
`duedate` date NOT NULL,
|
|
`installment` smallint(5) NOT NULL,
|
|
`deposit` decimal(21,4) NOT NULL,
|
|
`payment_date` date DEFAULT NULL,
|
|
`deposit_paid` decimal(21,4) DEFAULT NULL,
|
|
`completed_derived` bit(1) NOT NULL,
|
|
`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`),
|
|
KEY `FKSS00000000001` (`saving_account_id`),
|
|
CONSTRAINT `FKSS00000000001` FOREIGN KEY (`saving_account_id`) REFERENCES `m_saving_account` (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8; |