|
| 1 | +DROP TABLE IF EXISTS `regions`; |
| 2 | +CREATE TABLE `regions` ( |
| 3 | + `id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
| 4 | + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, |
| 5 | + `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, |
| 6 | + `iso_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, |
| 7 | + PRIMARY KEY (`id`) |
| 8 | +) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
| 9 | + |
| 10 | +INSERT INTO `regions` VALUES |
| 11 | +(1,'Auvergne-Rhône-Alpes','auvergne-rhone-alpes','FR-ARA'), |
| 12 | +(2,'Bourgogne-Franche-Comté','bourgogne-franche-comte','FR-BCF'), |
| 13 | +(3,'Bretagne','bretagne','FR-BRE'), |
| 14 | +(4,'Centre-Val de Loire','centre-val-de-loire','FR-CVL'), |
| 15 | +(5,'Corse','corse','FR-COR'), |
| 16 | +(6,'Grand Est','grand-est','FR-GES'), |
| 17 | +(7,'Hauts-de-France','hauts-de-france','FR-HDF'), |
| 18 | +(8,'Île-de-France','ile-de-france','FR-IDF'), |
| 19 | +(9,'Normandie','normandie','FR-NOR'), |
| 20 | +(10,'Nouvelle-Aquitaine','nouvelle-aquitaine','FR-NAQ'), |
| 21 | +(11,'Occitanie','occitanie','FR-OCC'), |
| 22 | +(12,'Pays de la Loire','pays-de-la-loire','FR-PDL'), |
| 23 | +(13,'Provence-Alpes-Côte d\'Azur','provence-alpes-cote-d-azur','FR-PAC'), |
| 24 | +(14,'Outre-Mer','outre-mer',''); |
0 commit comments