CREATE TABLE IF NOT EXISTS `op_communes` (
  `id` int(20) NOT NULL,
  `name` text,
  `district_id` int(20) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `FK_tcommune` (`district_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `op_communes`
--

INSERT INTO `op_communes` (`id`, `name`, `district_id`) VALUES
(130101, 'Sang', 1301),
(130102, 'Tasu', 1301),
(130103, 'Khyang', 1301),
(130104, 'Chrach', 1301),
(130105, 'Thmea', 1301),
(130106, 'Putrea', 1301),
(130201, 'Chhaeb Muoy', 1302),
(130202, 'Chhaeb Pir', 1302),
(130203, 'Sangkae Muoy', 1302),
(130204, 'Sangkae Pir', 1302),
(130205, 'Mlu Prey Muoy', 1302),
(130206, 'Mlu Prey Pir', 1302),
(130207, 'Kampong Sralau Muoy', 1302),
(130208, 'Kampong Sralau Pir', 1302),
(130301, 'Choam Ksant', 1303),
(130302, 'Tuek Kraham', 1303),
(130303, 'Pring Thum', 1303),
(130304, 'Rumdaoh Srae', 1303),
(130305, 'Yeang', 1303),
(130306, 'Kantuot', 1303),
(130307, 'Sror Aem', 1303),
(130308, 'Morokot', 1303),
(130401, 'Kuleaen Tboung', 1304),
(130402, 'Kuleaen Cheung', 1304),
(130403, 'Thmei', 1304),
(130404, 'Phnum Penh', 1304),
(130405, 'Phnum Tbaeng Pir', 1304),
(130406, 'Srayang', 1304),
(130501, 'Robieb', 1305),
(130502, 'Reaksmei', 1305),
(130503, 'Rohas', 1305),
(130504, 'Rung Roeang', 1305),
(130505, 'Rik Reay', 1305),
(130506, 'Ruos Roan', 1305),
(130507, 'Rotanak', 1305),
(130508, 'Rieb Roy', 1305),
(130509, 'Reaksa', 1305),
(130510, 'Rumdaoh', 1305),
(130511, 'Romtum', 1305),
(130512, 'Romoneiy', 1305),
(130601, 'Chamraeun', 1306),
(130602, 'Roang', 1306),
(130603, 'Phnum Tbaeng Muoy', 1306),
(130604, 'Sdau', 1306),
(130605, 'Ronak Ser', 1306),
(130703, 'Chhean Mukh', 1307),
(130704, 'Pou', 1307),
(130705, 'Prame', 1307),
(130706, 'Preah Khleang', 1307),
(130801, 'Kampong Pranak', 1308),
(130802, 'Pal Hal', 1308);

-- --------------------------------------------------------

--
-- Table structure for table `op_districts`
--

CREATE TABLE IF NOT EXISTS `op_districts` (
  `id` int(20) NOT NULL,
  `name` text,
  `provinces_id` int(20) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `FK_tdistrict` (`provinces_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `op_districts`
--

INSERT INTO `op_districts` (`id`, `name`, `provinces_id`) VALUES
(1301, 'Chey Saen', 13),
(1302, 'Chhaeb', 13),
(1303, 'Choam Ksant', 13),
(1304, 'Kuleaen', 13),
(1305, 'Rovieng', 13),
(1306, 'Sangkum Thmei', 13),
(1307, 'Tbaeng Mean Chey', 13),
(1308, 'Preah Vihear', 13);

-- --------------------------------------------------------

--
-- Table structure for table `op_provinces`
--

CREATE TABLE IF NOT EXISTS `op_provinces` (
  `id` varchar(20) NOT NULL,
  `name` text,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `op_provinces`
--

INSERT INTO `op_provinces` (`id`, `name`) VALUES
('13', 'Preah Vihear');

-- --------------------------------------------------------

--
-- Table structure for table `op_villages`
--

CREATE TABLE IF NOT EXISTS `op_villages` (
  `id` int(20) NOT NULL,
  `name` text NOT NULL,
  `commune_id` int(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `op_villages`
--

INSERT INTO `op_villages` (`id`, `name`, `commune_id`) VALUES
(13010101, 'Sang', 130101),
(13010102, 'Tuek Lich', 130101),
(13010103, 'Kouk', 130101),
(13010201, 'Tasu', 130102),
(13010202, 'Thmei', 130102),
(13010203, 'Samraong', 130102),
(13010301, 'Khyang', 130103),
(13010302, 'Meun Reach', 130103),
(13010303, 'Slaeng', 130103),
(13010401, 'Pakdevoat', 130104),
(13010402, 'Chrach', 130104),
(13010403, 'Chamraeun', 130104),
(13010404, 'Phlaoch', 130104),
(13010405, 'Pramoul Phdom', 130104),
(13010406, 'Damnak Trach', 130104),
(13010501, 'Thmea', 130105),
(13010502, 'Srae Veal', 130105),
(13010503, 'Phneak Roluek', 130105),
(13010601, 'Kampong Putrea', 130106),
(13010602, 'Peuk', 130106),
(13010603, 'Veal Bar', 130106),
(13020101, 'Chhaeb Lech', 130201),
(13020102, 'Chhaeb Kaeut', 130201),
(13020103, 'Krasang', 130201),
(13020201, 'Kunakpheap Muoy', 130202),
(13020202, 'Kunakpheap Pir', 130202),
(13020203, 'Narong', 130202),
(13020204, 'Dang Phlet', 130202),
(13020301, 'Sangkae', 130203),
(13020302, 'Sraaem', 130203),
(13020401, 'Kalaot', 130204),
(13020402, 'Sambour', 130204),
(13020403, 'Chouk Chey', 130204),
(13020501, 'Mlu Prey', 130205),
(13020502, 'Tul', 130205),
(13020503, 'Pou Teab', 130205),
(13020601, 'Boh', 130206),
(13020602, 'Praeus Kak', 130206),
(13020701, 'Kampong Sralau', 130207),
(13020702, 'Kampong Pou', 130207),
(13020703, 'Kampong Sangkae', 130207),
(13020704, 'Kham  Keut', 130207),
(13020705, 'Suong', 130207),
(13020801, 'Kampong Chrey', 130208),
(13020802, 'Kampong Krasang', 130208),
(13020803, 'Kampong Sami', 130208),
(13020804, 'Kampong Preah Ent', 130208),
(13030101, 'Choam Ksant', 130301),
(13030102, 'Kouk Sralau', 130301),
(13030104, 'Veal Pou', 130301),
(13030105, 'Veal Thum', 130301),
(13030106, 'Trapaeng Sangkae Khang Kaeut', 130301),
(13030107, 'Chheu Teal Kong', 130301),
(13030108, 'An Ses', 130301),
(13030201, 'Tuek Kraham', 130302),
(13030202, 'Chat Tang', 130302),
(13030203, 'Sangkom Thmei', 130302),
(13030204, 'Trapeang Thum', 130302),
(13030205, 'Ou Khsan', 130302),
(13030209, 'Sen Rung Roeung 1', 130302),
(13030213, 'Sen Rung Roeung 5', 130302),
(13030301, 'Krala Peas', 130303),
(13030302, 'Tmat Paeuy', 130303),
(13030401, 'Srae', 130304),
(13030402, 'Kouk', 130304),
(13030403, 'Rolum Thma', 130304),
(13030404, 'Svay', 130304),
(13030501, 'Yeang', 130305),
(13030502, 'Kong Yaong', 130305),
(13030503, 'Reaksmei', 130305),
(13030504, 'Kampeanh', 130305),
(13030505, 'Choam Antuel', 130305),
(13030506, 'Choam Srae', 130305),
(13030601, 'Kantuot', 130306),
(13030602, 'Sra aem Khang Tboung', 130306),
(13030603, 'Anlong Veaeng', 130306),
(13030604, 'Char', 130306),
(13030612, 'Trapaeng Sangkae Khang Lech', 130306),
(13030613, 'Morokot Te Chour', 130306),
(13030614, 'Sok Sen Chey', 130306),
(13030701, 'Thomacheat Samdach Te Chhor Hun Sen', 130307),
(13030702, 'Sra aem Khang Cheung', 130307),
(13030703, 'Sen Chey', 130307),
(13030704, 'Te Chour Bosbov', 130307),
(13030705, 'Chambok Sen Chey', 130307),
(13030706, 'Steung Kheav Te Chour', 130307),
(13030707, 'Bongkol 8', 130307),
(13030801, 'Robonh', 130308),
(13030802, 'Sen Techas', 130308),
(13030803, 'Te Chour Morokot', 130308),
(13030804, 'Sen Rung Roeung 2', 130308),
(13030805, 'Sen Rung Roeung 3', 130308),
(13030806, 'Sen Rung Roeung 4', 130308),
(13040101, 'Kuleaen Tboung', 130401),
(13040102, 'Krabau', 130401),
(13040201, 'Kuleaen Cheung', 130402),
(13040202, 'Pyuor Chruk', 130402),
(13040301, 'Thnal Baek', 130403),
(13040302, 'Trav Kiet', 130403),
(13040303, 'Pongro', 130403),
(13040304, 'Dan', 130403),
(13040305, 'Damnak Kantuot', 130403),
(13040401, 'Pnov', 130404),
(13040402, 'Bos', 130404),
(13040403, 'Srabal', 130404),
(13040501, 'Chhuk', 130405),
(13040502, 'Sralay', 130405),
(13040503, 'Baribour', 130405),
(13040504, 'Kdak', 130405),
(13040601, 'Srayang Cheung', 130406),
(13040602, 'Srayang Tboung', 130406),
(13040603, 'Kaoh Ker', 130406),
(13040604, 'Mrech', 130406),
(13040605, 'Rumchek', 130406),
(13040606, 'Sambour', 130406),
(13040607, 'Sna Paek', 130406),
(13050101, 'Rovieng Cheung', 130501),
(13050102, 'Tnaot Mlu', 130501),
(13050103, 'Tang Trak', 130501),
(13050104, 'Bak Kdaong', 130501),
(13050105, 'Boeng', 130501),
(13050106, 'Ou', 130501),
(13050201, 'Damnak Chen', 130502),
(13050202, 'Ta Tong', 130502),
(13050203, 'Chambak Phaem', 130502),
(13050204, 'Trapeang Ruessei', 130502),
(13050301, 'Thkaeng', 130503),
(13050302, 'Kampot', 130503),
(13050303, 'Sangkae Rung', 130503),
(13050304, 'Kak Poun', 130503),
(13050305, 'Chamlang', 130503),
(13050306, 'Anlong Svay', 130503),
(13050401, 'Thnal Kaeng', 130504),
(13050402, 'Rovieng Tboung', 130504),
(13050403, 'Boh Pey', 130504),
(13050404, 'Srae Thum', 130504),
(13050501, 'Pal Hal', 130505),
(13050502, 'Boh', 130505),
(13050503, 'Doung', 130505),
(13050601, 'Chhnuon', 130506),
(13050602, 'Tonloab', 130506),
(13050603, 'Ruessei Srok', 130506),
(13050701, 'Ker', 130507),
(13050702, 'Khnar', 130507),
(13050703, 'Samreth', 130507),
(13050704, 'Samprieng', 130507),
(13050705, 'Prey Snuol', 130507),
(13050801, 'Slaeng Toul', 130508),
(13050802, 'Srae', 130508),
(13050803, 'Bangkan', 130508),
(13050901, 'Doun Ma', 130509),
(13050902, 'Samraong', 130509),
(13050903, 'Preal', 130509),
(13050904, 'Kak Poun', 130509),
(13050905, 'Rumdaoh', 130509),
(13050906, 'Sanlung Chey', 130509),
(13050907, 'Poleakkam', 130509),
(13050908, 'Sralau Sraong', 130509),
(13051001, 'Thnal Kaong', 130510),
(13051002, 'Svay Pat', 130510),
(13051003, 'Kouk Ampil', 130510),
(13051004, 'Ovloek', 130510),
(13051101, 'Trapeang Totuem', 130511),
(13051102, 'Ou Talaok', 130511),
(13051103, 'Tuol Rovieng', 130511),
(13051104, 'Bangkaeun Phal', 130511),
(13051105, 'Svay Damnak Chas', 130511),
(13051106, 'Svay Damnak Thmei', 130511),
(13051201, 'Rumchek', 130512),
(13051202, 'Ou Pour', 130512),
(13051203, 'Chi Aok', 130512),
(13051204, 'Phnum Daek', 130512),
(13051205, 'Srae Thnong', 130512),
(13060101, 'Pratheat', 130601),
(13060102, 'Tbaeng', 130601),
(13060103, 'Da', 130601),
(13060104, 'Saen Kong', 130601),
(13060105, 'Srei Sranaoh', 130601),
(13060201, 'Andoung Phlu', 130602),
(13060202, 'Khnar', 130602),
(13060203, 'Stueng', 130602),
(13060204, 'Kdei', 130602),
(13060205, 'Boeng', 130602),
(13060206, 'Knor', 130602),
(13060301, 'Samlanh', 130603),
(13060302, 'Kbal Khla', 130603),
(13060401, 'Ta Bas', 130604),
(13060402, 'Sdau', 130604),
(13060403, 'Soch', 130604),
(13060404, 'Trapeang Thlok', 130604),
(13060405, 'Trapeang  Khchaeng', 130604),
(13060501, 'Ta Saeng Kandal', 130605),
(13060502, 'Ta Saeng Khang Cheung', 130605),
(13060503, 'Trapeang Reang', 130605),
(13060504, 'Svay', 130605),
(13060505, 'koukThkov', 130605),
(13060506, 'Rolum Slaeng', 130605),
(13070301, 'Bak Kam', 130703),
(13070302, 'Sedthakkech', 130703),
(13070303, 'Moha Phal', 130703),
(13070401, 'Pou', 130704),
(13070402, 'Sralau Tung', 130704),
(13070403, 'Pou Khoean', 130704),
(13070404, 'Ou Kak', 130704),
(13070501, 'Bos Thum', 130705),
(13070502, 'Prame', 130705),
(13070503, 'Srae Preang', 130705),
(13070601, 'Anlong Svay', 130706),
(13070602, 'Krang Doung', 130706),
(13080101, 'Samraong', 130801),
(13080102, 'Thmei', 130801),
(13080103, 'Kouk Beng', 130801),
(13080104, 'Andoung Pou', 130801),
(13080105, 'La Edth', 130801),
(13080106, 'Damnak', 130801),
(13080107, 'Srah Chhuk', 130801),
(13080108, 'Kandal', 130801),
(13080109, 'Kampong Chamlang', 130801),
(13080110, 'Tuol Tumnob', 130801),
(13080201, 'Ma Saet', 130802),
(13080202, 'Ou Khlaeng Poar', 130802),
(13080203, 'Tumnob', 130802),
(13080204, 'Pal Hal', 130802),
(13080205, 'Peareakkech', 130802),
(13080206, 'Sthapor', 130802),
(13080207, 'Sameakki', 130802),
(13080208, 'Aekakpheap', 130802),
(13080209, 'Akphivoat', 130802),
(13080210, 'Chamkar Sramov', 130802);
