CREATE TABLE `psi_repayment_checks` (
  `rep_check_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `rep_check_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '',
  `rep_check_date` date DEFAULT NULL,
  `rep_check_amount` decimal(63,3) unsigned DEFAULT '0.000',
  `rep_check_used` tinyint(1) unsigned DEFAULT '0',
  `rep_check_remarks` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `rep_id` bigint(20) unsigned DEFAULT '0',
  `encoder` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '',
  `date_encoded` date DEFAULT NULL,
  `updater` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '',
  `last_updated` date DEFAULT NULL,
  `region_id` bigint(20) unsigned DEFAULT '6',
  `synched` tinyint(1) unsigned DEFAULT '0',
  `sync_date` datetime DEFAULT NULL,
  PRIMARY KEY (`rep_check_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

