generated from betagouv/template-nextjs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
3,414 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
CREATE TABLE IF NOT EXISTS "udaps" ( | ||
"id" text PRIMARY KEY NOT NULL, | ||
"department" text NOT NULL, | ||
"complete_coords" text, | ||
"address" text, | ||
"visible" boolean, | ||
"name" text, | ||
"zip_code" integer, | ||
"city" text, | ||
"phone" text, | ||
"email" text | ||
); | ||
|
||
ALTER TABLE "users" ADD COLUMN "udap_id" text; | ||
|
||
ALTER TABLE "users" ADD CONSTRAINT "fk_udap_id" | ||
FOREIGN KEY ("udap_id") | ||
REFERENCES "udaps" ("id") | ||
ON DELETE SET NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
INSERT INTO udaps (id, department) VALUES ('8p7dAjNvQP-m93AuekwwmA', 'Ain'); | ||
INSERT INTO udaps (id, department) VALUES ('8-lnCVfDRDiQrnk9QCHhRA', 'Aisne'); | ||
INSERT INTO udaps (id, department) VALUES ('s4v6Tj0zTrOaLrSjeZECzg', 'Allier'); | ||
INSERT INTO udaps (id, department) VALUES ('dp5WpQ3tSVi8DBAu6fydHg', 'Alpes-de-Haute-Provence'); | ||
INSERT INTO udaps (id, department) VALUES ('aFBTKE2RRa6C.dvz1bGwWg', 'Alpes-Maritimes'); | ||
INSERT INTO udaps (id, department) VALUES ('UTrSAXbZRnGpdrIEA-nz0Q', 'Ardèche'); | ||
INSERT INTO udaps (id, department) VALUES ('jYA82-oMQPCz9Lt5j0rBbg', 'Ardennes'); | ||
INSERT INTO udaps (id, department) VALUES ('9trC2yFiQZOqUFOcUuZ4Zw', 'Ariège'); | ||
INSERT INTO udaps (id, department) VALUES ('nvty.sjsRcyUM9WDtIWXuw', 'Aube'); | ||
INSERT INTO udaps (id, department) VALUES ('DJmuwtmkQzKdExdRgVNWZA', 'Aude'); | ||
INSERT INTO udaps (id, department) VALUES ('3AjOmh7OTmqh18hurE6jrw', 'Aveyron'); | ||
INSERT INTO udaps (id, department) VALUES ('VEQAEC5lSxe2tbGb3lJNNw', 'Bas-Rhin'); | ||
INSERT INTO udaps (id, department) VALUES ('gBu5my3YR--sE-7HAKnrpA', 'Bouches-du-Rhône'); | ||
INSERT INTO udaps (id, department) VALUES ('By7rIIj-SdCd8JKVN8zCog', 'Calvados'); | ||
INSERT INTO udaps (id, department) VALUES ('Wr7jOiAoTb60Bvjh0zGmBw', 'Cantal'); | ||
INSERT INTO udaps (id, department) VALUES ('3ZgB1X68SwaWduKTYXoaJA', 'Charente'); | ||
INSERT INTO udaps (id, department) VALUES ('hmUGtJOQTi2zWUlOKiFB9g', 'Charente-Maritime'); | ||
INSERT INTO udaps (id, department) VALUES ('XIrLT0URQJ2BQCNv37NPBA', 'Cher'); | ||
INSERT INTO udaps (id, department) VALUES ('RdG7mGUASeCrlGgf1.dRVw', 'Corrèze'); | ||
INSERT INTO udaps (id, department) VALUES ('aTEc8B9WTsuDVlxX7jnUeA', 'Corse-du-Sud'); | ||
INSERT INTO udaps (id, department) VALUES ('T9CyxA3iTr2XpHd-JcqaZA', 'Côte-d’Or'); | ||
INSERT INTO udaps (id, department) VALUES ('q9-4CLDuQQiA5s-ZT2lc1Q', 'Côtes-d’Armor'); | ||
INSERT INTO udaps (id, department) VALUES ('U1Znssz4SZ-VuwrDErSF7Q', 'Creuse'); | ||
INSERT INTO udaps (id, department, complete_coords, visible, name, address, zip_code, city, phone, email) VALUES ('w.j3Su8pSrCYY4BlvM8oHA', 'Deux-Sèvres', 'UDAP des Deux-Sèvres | ||
4 rue Joseph Cugnot | ||
79000 Niort | ||
05 49 36 30 19 | ||
[email protected]', 'true', 'UDAP des Deux-Sèvres', '4 rue Joseph Cugnot', '79000', 'Niort', '05 49 36 30 19', '[email protected]'); | ||
INSERT INTO udaps (id, department) VALUES ('a04PkHK-SqaFAetKvz752Q', 'Dordogne'); | ||
INSERT INTO udaps (id, department) VALUES ('dlRaTUfiT5uX0zGlC6CwdQ', 'Doubs'); | ||
INSERT INTO udaps (id, department) VALUES ('SeRCK3y7TXuTE3yv1vRmcA', 'Drôme'); | ||
INSERT INTO udaps (id, department) VALUES ('hHhhk9vARKyoWkB8JZStBg', 'Essonne'); | ||
INSERT INTO udaps (id, department) VALUES ('bWvSEW-oRjS6YKWqG8L1AQ', 'Eure'); | ||
INSERT INTO udaps (id, department) VALUES ('tjeM-OlFSxi-oDg77J-sZw', 'Eure-et-Loir'); | ||
INSERT INTO udaps (id, department) VALUES ('6Lud5wPmQ4aFCGZMdvxUpA', 'Finistère'); | ||
INSERT INTO udaps (id, department) VALUES ('XVBzq3cRQm-wHgWTh4.JUA', 'Gard'); | ||
INSERT INTO udaps (id, department) VALUES ('FTRrJsthSTyB99cTINtB5Q', 'Gers'); | ||
INSERT INTO udaps (id, department) VALUES ('icCeH6TqSQyBVByd9qxwzg', 'Gironde'); | ||
INSERT INTO udaps (id, department) VALUES ('c3nwotDZRBKODbbeJhOVYA', 'Guyane'); | ||
INSERT INTO udaps (id, department) VALUES ('GQM5PjjyQ124PXG-jLvJXg', 'Haut-Rhin'); | ||
INSERT INTO udaps (id, department) VALUES ('uSbqsbBRTI2AcMcQ-pSzyg', 'Haute-Corse'); | ||
INSERT INTO udaps (id, department) VALUES ('s7VsFAIMQ7Ov5U-NmzTO5w', 'Haute-Garonne'); | ||
INSERT INTO udaps (id, department) VALUES ('Pg1inT4uQSmhnrzv-jS56Q', 'Haute-Loire'); | ||
INSERT INTO udaps (id, department) VALUES ('QFI1arqqR3-fpgFaTb6FDw', 'Haute-Marne'); | ||
INSERT INTO udaps (id, department) VALUES ('CrIp3lT.RseWVyD21D07Xw', 'Haute-Saône'); | ||
INSERT INTO udaps (id, department) VALUES ('FNMRBHvUTuK.py1bYUzaWA', 'Haute-Vienne'); | ||
INSERT INTO udaps (id, department) VALUES ('u-U9LyFCRgWEVZVzPcieoA', 'Hautes-Alpes'); | ||
INSERT INTO udaps (id, department) VALUES ('at.QlBDNTTq6tDIV3Pu-Ww', 'Hautes-Pyrénées'); | ||
INSERT INTO udaps (id, department) VALUES ('v8v-47LTS9e9IRtBqqOZGw', 'Hérault'); | ||
INSERT INTO udaps (id, department) VALUES ('13f9Ke0OTZ-QmvY-upbRAQ', 'Ille-et-Vilaine'); | ||
INSERT INTO udaps (id, department) VALUES ('NxM1tqiITeqSKLjJi5xVCg', 'Indre'); | ||
INSERT INTO udaps (id, department) VALUES ('PnJtoBT.T6qaQYecLL8tTA', 'Indre-et-Loire'); | ||
INSERT INTO udaps (id, department) VALUES ('li3v.vgdQYKJOMpmGjlmaw', 'Isère'); | ||
INSERT INTO udaps (id, department) VALUES ('n4clsuaYTA6DFyZRXbe.Ng', 'Jura'); | ||
INSERT INTO udaps (id, department, complete_coords, visible, name, address, zip_code, city, phone, email) VALUES ('ardS5mzXQl6SN6TT-N.YeA', 'Landes', 'UDAP des Landes | ||
4 rue du 8 Mai 1945 - BP 344 | ||
40000 Mont-de-Marsan | ||
05 58 06 14 15 | ||
[email protected]', 'true', 'UDAP des Landes', '4 rue du 8 Mai 1945 - BP 344', '40000', 'Mont-de-Marsan', '05 58 06 14 15', '[email protected]'); | ||
INSERT INTO udaps (id, department) VALUES ('bC53YfyJS3yF8MTc-9RA7Q', 'Loir-et-Cher'); | ||
INSERT INTO udaps (id, department) VALUES ('5lRc3O84RUGY-Dhe5Zj1JQ', 'Loire'); | ||
INSERT INTO udaps (id, department) VALUES ('7eMCqfC.SZ-ri19J4.u3EA', 'Loire-Atlantique'); | ||
INSERT INTO udaps (id, department) VALUES ('tB3peeQiTcWtIkGVhp1U2A', 'Loiret'); | ||
INSERT INTO udaps (id, department) VALUES ('J6z-89Z9QU-vgrJY0ihTCw', 'Lot'); | ||
INSERT INTO udaps (id, department) VALUES ('FyBjT8rqRWevyTWFqP3dsQ', 'Lot-et-Garonne'); | ||
INSERT INTO udaps (id, department) VALUES ('srbTC0-zQ1S3sOEBWMbMBA', 'Lozère'); | ||
INSERT INTO udaps (id, department) VALUES ('zdm5RMfiQ8eezJAkxs.zRg', 'Maine-et-Loire'); | ||
INSERT INTO udaps (id, department) VALUES ('t2rbQuxpRCez-yeZK2f4Pw', 'Manche'); | ||
INSERT INTO udaps (id, department) VALUES ('nMueqt6sSzGRFJlmP0P7-w', 'Marne'); | ||
INSERT INTO udaps (id, department) VALUES ('dcr2g2M7QoaHNye7d9Whcw', 'Martinique'); | ||
INSERT INTO udaps (id, department) VALUES ('Vf7qVNcFR-OghZrd4VJM3A', 'Mayenne'); | ||
INSERT INTO udaps (id, department) VALUES ('7IQKRlTrR1W4cms1xlnR1Q', 'Meurthe-et-Moselle'); | ||
INSERT INTO udaps (id, department) VALUES ('8bFFxHOBSrKe6kd0QB-yNg', 'Meuse'); | ||
INSERT INTO udaps (id, department) VALUES ('tLaobYBCQGKjZZY0AO.iOw', 'Morbihan'); | ||
INSERT INTO udaps (id, department) VALUES ('2qESZjhaTI-AjrAWfi49kg', 'Moselle'); | ||
INSERT INTO udaps (id, department) VALUES ('p4qs88u5R8yWQICz3ibO8g', 'Nièvre'); | ||
INSERT INTO udaps (id, department) VALUES ('CxjXhD9iQduOyL9jhK-Evw', 'Nord'); | ||
INSERT INTO udaps (id, department) VALUES ('sHFMgMRLQ-ayckJqcsDFEQ', 'Oise'); | ||
INSERT INTO udaps (id, department) VALUES ('VpXrMHZKQ.aShQTm4aq0SQ', 'Orne'); | ||
INSERT INTO udaps (id, department) VALUES ('T.jR8IBbS4iHtY784OxIFw', 'Pas-de-Calais'); | ||
INSERT INTO udaps (id, department) VALUES ('XPRE3GvITS6mjd2WfFoKZg', 'Puy-de-Dôme'); | ||
INSERT INTO udaps (id, department) VALUES ('z89taIFQSUSefL2CEZl22g', 'Pyrénées-Atlantiques'); | ||
INSERT INTO udaps (id, department) VALUES ('Wxa6mH0.Q.mMIE2rDPws5w', 'Pyrénées-Orientales'); | ||
INSERT INTO udaps (id, department) VALUES ('b-qslgdzT8yhu6xtGJp9cw', 'Rhône et Métropole de Lyon'); | ||
INSERT INTO udaps (id, department) VALUES ('3LQ1PypwQNKxBDd-bmaeCg', 'Saône-et-Loire'); | ||
INSERT INTO udaps (id, department) VALUES ('y.hqTHRcS8OFk45Z74PlWw', 'Sarthe'); | ||
INSERT INTO udaps (id, department) VALUES ('hDiDHY69Qym2thYhe3F88A', 'Savoie et Haute-Savoie'); | ||
INSERT INTO udaps (id, department) VALUES ('NC5g2L-nSkC8SOkzsBdr0A', 'Seine-et-Marne'); | ||
INSERT INTO udaps (id, department) VALUES ('wfFG4FgxRY28tIZX1H6n8w', 'Seine-Maritime'); | ||
INSERT INTO udaps (id, department) VALUES ('gACszXJfQPmOfdtZF9ciKQ', 'Somme'); | ||
INSERT INTO udaps (id, department) VALUES ('iyvi9gqLRNW0g9djhXnpPQ', 'Tarn'); | ||
INSERT INTO udaps (id, department) VALUES ('Obj4PNtoSWaoVPdo12jPKA', 'Tarn-et-Garonne'); | ||
INSERT INTO udaps (id, department) VALUES ('KG1e6xo1TZSg.u8N5vL4lw', 'Territoire-de-Belfort'); | ||
INSERT INTO udaps (id, department) VALUES ('VNjX9ECrRrK8ztglwbrkVw', 'Val-d’Oise'); | ||
INSERT INTO udaps (id, department) VALUES ('FtJa8J3uTFCeVglk-MF4vA', 'Val-de-Marne'); | ||
INSERT INTO udaps (id, department) VALUES ('OUp1I5FqRK2DQCtWdXCb.A', 'Var'); | ||
INSERT INTO udaps (id, department) VALUES ('pZCLspaUSF-Hdfvflqt4LQ', 'Vaucluse'); | ||
INSERT INTO udaps (id, department) VALUES ('VSFVOK.dSUup70d2.quzaA', 'Vendée'); | ||
INSERT INTO udaps (id, department, complete_coords, visible, name, address, zip_code, city, phone, email) VALUES ('XmvuInubRpCdUXlpuOJduw', 'Vienne', 'UDAP de la Vienne | ||
Hôtel de Rochefort | ||
102 Grand’Rue | ||
86020 Poitiers Cedex | ||
05 49 55 63 27 | ||
[email protected]', 'true', 'UDAP de la Vienne', 'Hôtel de Rochefort | ||
102 Grand’Rue', '86020', 'Poitiers Cedex', '05 49 55 63 27', '[email protected]'); | ||
INSERT INTO udaps (id, department) VALUES ('zOX.nWjjQhaLsNCsAKn49g', 'Vosges'); | ||
INSERT INTO udaps (id, department) VALUES ('GsV7dDvmSMWOckqQKWwZHA', 'Yonne'); | ||
INSERT INTO udaps (id, department) VALUES ('1f2OuP70RRShcXDkVyzSaQ', 'Yvelines'); | ||
INSERT INTO udaps (id, department) VALUES ('Pvj2SJTGTumQ5F.HmFerog', 'Atelier numérique'); | ||
INSERT INTO udaps (id, department) VALUES ('V6GsryThS22LqZTmRYRUgQ', 'DRAC Nouvelle-Aquitaine'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.