Files
mcp-vultr/not_used/extracted_backup/customer_status.sql

21 lines
857 B
SQL

#
# TABLE STRUCTURE FOR: customer_status
#
DROP TABLE IF EXISTS `customer_status`;
CREATE TABLE `customer_status` (
`id` int(9) NOT NULL AUTO_INCREMENT,
`status` text NOT NULL,
`remark` text NOT NULL,
`active_bill` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
INSERT INTO `customer_status` (`id`, `status`, `remark`, `active_bill`) VALUES (1, 'Aktif', 'Aktif Berlangganan', 1);
INSERT INTO `customer_status` (`id`, `status`, `remark`, `active_bill`) VALUES (2, 'Non-Aktif', 'Berhenti Berlangganan', 0);
INSERT INTO `customer_status` (`id`, `status`, `remark`, `active_bill`) VALUES (3, 'Menunggu', 'Calon pelanggan / Pelanggan register mandiri', 0);
INSERT INTO `customer_status` (`id`, `status`, `remark`, `active_bill`) VALUES (4, 'Free', 'Pelanggan gratis', 0);