#
# TABLE STRUCTURE FOR: coverage
#

DROP TABLE IF EXISTS `coverage`;

CREATE TABLE `coverage` (
  `coverage_id` int(11) NOT NULL AUTO_INCREMENT,
  `c_name` varchar(128) NOT NULL,
  `address` text NOT NULL,
  `id_prov` varchar(50) NOT NULL,
  `id_kab` varchar(50) NOT NULL,
  `id_kec` varchar(50) NOT NULL,
  `id_kel` varchar(50) NOT NULL,
  `comment` text NOT NULL,
  `latitude` text NOT NULL,
  `longitude` text NOT NULL,
  `radius` int(11) NOT NULL,
  `public` int(11) NOT NULL,
  `code_area` varchar(9) NOT NULL,
  `create_by` int(11) NOT NULL,
  `coverage_mitra` int(11) NOT NULL,
  PRIMARY KEY (`coverage_id`)
) ENGINE=InnoDB AUTO_INCREMENT=123 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

INSERT INTO `coverage` (`coverage_id`, `c_name`, `address`, `id_prov`, `id_kab`, `id_kec`, `id_kel`, `comment`, `latitude`, `longitude`, `radius`, `public`, `code_area`, `create_by`, `coverage_mitra`) VALUES (1, 'Pusat Server', 'jl mendalan rt1 rw8 desa mendalan kecamatan winongan kabupaten pasuruan', '', '', '', '', '', '-7.722808758627467', '112.9378739338887', 100, 1, '1001', 0, 0);
INSERT INTO `coverage` (`coverage_id`, `c_name`, `address`, `id_prov`, `id_kab`, `id_kec`, `id_kel`, `comment`, `latitude`, `longitude`, `radius`, `public`, `code_area`, `create_by`, `coverage_mitra`) VALUES (5, 'Kademangan', 'Kademangan', '', '', '', '', '', '', '', 0, 1, '01', 3797, 0);
INSERT INTO `coverage` (`coverage_id`, `c_name`, `address`, `id_prov`, `id_kab`, `id_kec`, `id_kel`, `comment`, `latitude`, `longitude`, `radius`, `public`, `code_area`, `create_by`, `coverage_mitra`) VALUES (6, 'Kanigaran', 'Kanigaran', '', '', '', '', '', '', '', 0, 1, '02', 3797, 0);
INSERT INTO `coverage` (`coverage_id`, `c_name`, `address`, `id_prov`, `id_kab`, `id_kec`, `id_kel`, `comment`, `latitude`, `longitude`, `radius`, `public`, `code_area`, `create_by`, `coverage_mitra`) VALUES (7, 'Bantaran', 'Bantaran', '', '', '', '', '', '', '', 0, 1, '03', 5565, 0);
INSERT INTO `coverage` (`coverage_id`, `c_name`, `address`, `id_prov`, `id_kab`, `id_kec`, `id_kel`, `comment`, `latitude`, `longitude`, `radius`, `public`, `code_area`, `create_by`, `coverage_mitra`) VALUES (121, 'Dringu', 'Dringu', '', '', '', '', '', '', '', 0, 1, '04', 5565, 0);
INSERT INTO `coverage` (`coverage_id`, `c_name`, `address`, `id_prov`, `id_kab`, `id_kec`, `id_kel`, `comment`, `latitude`, `longitude`, `radius`, `public`, `code_area`, `create_by`, `coverage_mitra`) VALUES (122, 'TONGAS', 'TONGAS', '', '', '', '', '', '', '', 0, 1, '05', 5565, 0);


