#
# TABLE STRUCTURE FOR: role_group
#

DROP TABLE IF EXISTS `role_group`;

CREATE TABLE `role_group` (
  `id` int(9) NOT NULL AUTO_INCREMENT,
  `role_id` int(11) NOT NULL,
  `role_name` text NOT NULL,
  `remark` text NOT NULL,
  `profit_sharing` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `role_group` (`id`, `role_id`, `role_name`, `remark`, `profit_sharing`) VALUES (1, 1, 'Administrator', 'Full Akses', 0);
INSERT INTO `role_group` (`id`, `role_id`, `role_name`, `remark`, `profit_sharing`) VALUES (2, 2, 'Pelanggan', 'Customer', 0);
INSERT INTO `role_group` (`id`, `role_id`, `role_name`, `remark`, `profit_sharing`) VALUES (3, 3, 'Operator', 'Customer Service', 0);
INSERT INTO `role_group` (`id`, `role_id`, `role_name`, `remark`, `profit_sharing`) VALUES (4, 4, 'Mitra', 'Mitra / Subnet', 0);
INSERT INTO `role_group` (`id`, `role_id`, `role_name`, `remark`, `profit_sharing`) VALUES (5, 5, 'Teknisi', 'Teknisi', 0);
INSERT INTO `role_group` (`id`, `role_id`, `role_name`, `remark`, `profit_sharing`) VALUES (6, 7, 'Kolektor', 'Kang Tagih', 0);
INSERT INTO `role_group` (`id`, `role_id`, `role_name`, `remark`, `profit_sharing`) VALUES (7, 8, 'Finance', 'Keuangan', 0);


