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.
feat: add service instructeurs in db
- Loading branch information
Showing
20 changed files
with
1,921 additions
and
420 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,31 +1 @@ | ||
|
||
UPDATE udap SET marianne_text='Préfet | ||
de la région | ||
Nouvelle-Aquitaine', drac_text='Direction régionale des affaires | ||
culturelles de Nouvelle-Aquitaine', udap_text='Unité départementale de | ||
l''architecture et du patrimone des Landes' WHERE id='udap-landes'; | ||
UPDATE udap SET marianne_text='Préfet | ||
de la région | ||
Nouvelle-Aquitaine', drac_text='Direction régionale des affaires | ||
culturelles de Nouvelle-Aquitaine', udap_text='Unité départementale de | ||
l''architecture et du patrimone des Deux-Sèvres' WHERE id= 'udap-deux-sèvres'; | ||
UPDATE udap SET marianne_text='Préfet | ||
de la région | ||
Nouvelle-Aquitaine', drac_text='Direction régionale des affaires | ||
culturelles de Nouvelle-Aquitaine', udap_text='Unité départementale de | ||
l''architecture et du patrimone de la Vienne' WHERE id= 'udap-vienne'; | ||
UPDATE udap SET marianne_text='Préfet | ||
de la région | ||
Nouvelle-Aquitaine', drac_text='Direction régionale des affaires | ||
culturelles de Nouvelle-Aquitaine', udap_text='Unité départementale de | ||
l''architecture et du patrimone de la Charente-Maritime' WHERE id= 'udap-charente-maritime'; | ||
UPDATE udap SET marianne_text='Préfet | ||
de la région | ||
Nouvelle-Aquitaine', drac_text='Direction régionale des affaires | ||
culturelles de Nouvelle-Aquitaine', udap_text='Unité départementale de | ||
l''architecture et du patrimone du Lot-et-Garonne' WHERE id='udap-lot-et-garonne'; | ||
UPDATE udap SET marianne_text='Préfet | ||
de la région | ||
Nouvelle-Aquitaine', drac_text='Direction régionale des affaires | ||
culturelles de Nouvelle-Aquitaine', udap_text='Unité départementale de | ||
l''architecture et du patrimone de la Dordogne' WHERE id='udap-dordogne'; | ||
SELECT 1; |
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,11 @@ | ||
CREATE TABLE IF NOT EXISTS service_instructeurs ( | ||
id INTEGER NOT NULL PRIMARY KEY, | ||
full_name TEXT NOT NULL, | ||
short_name TEXT NOT NULL, | ||
email TEXT, | ||
tel TEXT, | ||
udap_id TEXT | ||
); | ||
|
||
|
||
ALTER TABLE service_instructeurs ENABLE ELECTRIC; |
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 @@ | ||
UPDATE report SET "serviceInstructeur" = 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
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.