-
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.
[Semaphore] add url in semaphore card
- Loading branch information
1 parent
e06fca4
commit de3e87a
Showing
11 changed files
with
69 additions
and
46 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
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
1 change: 1 addition & 0 deletions
1
backend/src/main/resources/db/migration/internal/V0.151__update_reporting_table.sql
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 @@ | ||
ALTER TABLE public.semaphores ADD COLUMN url text DEFAULT NULL; |
20 changes: 10 additions & 10 deletions
20
backend/src/main/resources/db/testdata/V666.11__insert_dummy_semaphores.sql
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,11 +1,11 @@ | ||
|
||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base) VALUES (21, '0101000020E61000006E7F90A1B28312C0A4703D0AD7234840', 'SEMAPHORE LE TOULINGUET', '29', 'NAMO', NULL, NULL, NULL, NULL, NULL); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base) VALUES (22, '0101000020E610000075B9FD4186CA0BC0BD9A7856346A4840', 'SEMAPHORE PLOUMANAC''H', '22', 'NAMO', 'FOSIT', 'Sémaphore de Ploumanac’h', '[email protected]', '01 23 45 67 89', 'Ploumana’ch'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base) VALUES (23, '0101000020E6100000E09B5713CF0A02C052B81E85EB514840', 'SEMAPHORE SAINT CAST', '22', 'NAMO', 'FOSIT', 'Sémaphore de Saint-Cast', '[email protected]', '01 23 45 67 89', 'Saint-Cast-le-Guildo'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base) VALUES (24, '0101000020E610000001DFBC9A781613C05813CF8A462A4840', 'SEMAPHORE SAINT MATHIEU', '29', 'NAMO', 'FOSIT', 'Sémaphore de Saint-Mathieu', '[email protected]', '01 23 45 67 89', 'Plougonvelin'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base) VALUES (25, '0101000020E6100000F4499FF4499F06C08C25BF58F2534840', 'SEMAPHORE ST QUAY PORTRIEUX', '22', 'NAMO', 'FOSIT', 'Sémaphore de Saint-Quay', '[email protected]', '01 23 45 67 89', 'Saint-Quay-Portieux'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base) VALUES (32, '0101000020E61000003A6DA0D306BA0240A70D74DA40874940', 'SEMAPHORE DUNKERQUE', '59', 'MEMN', 'FOSIT', 'Sémaphore de Dunkerque', '[email protected]', '01 23 45 67 89', 'Dunkerque'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base) VALUES (33, '0101000020E6100000EA72FB830C95F93FF6285C8FC25D4940', 'SEMAPHORE BOULOGNE', '62', 'MEMN', 'FOSIT', 'Sémaphore de Boulogne sur mer', '[email protected]', '01 23 45 67 89', 'Boulogne-sur-Mer'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base) VALUES (34, '0101000020E61000009C5713CF8A46F73F8B4602BE790D4940', 'SEMAPHORE AULT', '80', 'MEMN', 'FOSIT', 'Sémaphore d’Ault', '[email protected]', '01 23 45 67 89', 'Ault'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base) VALUES (35, '0101000020E6100000C850D961EA72F13FDDFE204365F74840', 'SEMAPHORE DIEPPE', '76', 'MEMN', 'FOSIT', 'Sémaphore de Dieppe', '[email protected]', '01 23 45 67 89', 'Dieppe'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base) VALUES (36, '0101000020E6100000BCBBBBBBBBBBD73F5813CF8A46E24840', 'SEMAPHORE FECAMP', '76', 'MEMN', 'FOSIT', 'Sémaphore de Fécamp', '[email protected]', '01 23 45 67 89', 'Fécamp'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base, "url") VALUES (21, '0101000020E61000006E7F90A1B28312C0A4703D0AD7234840', 'SEMAPHORE LE TOULINGUET', '29', 'NAMO', NULL, NULL, NULL, NULL, NULL, 'https://extranet.legicem.metier.developpement-durable.gouv.fr/fiches-d-appui-semaphores-atlantique-r2370.html'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base, "url") VALUES (22, '0101000020E610000075B9FD4186CA0BC0BD9A7856346A4840', 'SEMAPHORE PLOUMANAC''H', '22', 'NAMO', 'FOSIT', 'Sémaphore de Ploumanac’h', '[email protected]', '01 23 45 67 89', 'Ploumana’ch', 'https://extranet.legicem.metier.developpement-durable.gouv.fr/fiches-d-appui-semaphores-atlantique-r2370.html'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base, "url") VALUES (23, '0101000020E6100000E09B5713CF0A02C052B81E85EB514840', 'SEMAPHORE SAINT CAST', '22', 'NAMO', 'FOSIT', 'Sémaphore de Saint-Cast', '[email protected]', '01 23 45 67 89', 'Saint-Cast-le-Guildo', 'https://extranet.legicem.metier.developpement-durable.gouv.fr/fiches-d-appui-semaphores-atlantique-r2370.html'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base, "url") VALUES (24, '0101000020E610000001DFBC9A781613C05813CF8A462A4840', 'SEMAPHORE SAINT MATHIEU', '29', 'NAMO', 'FOSIT', 'Sémaphore de Saint-Mathieu', '[email protected]', '01 23 45 67 89', 'Plougonvelin', 'https://extranet.legicem.metier.developpement-durable.gouv.fr/fiches-d-appui-semaphores-atlantique-r2370.html'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base, "url") VALUES (25, '0101000020E6100000F4499FF4499F06C08C25BF58F2534840', 'SEMAPHORE ST QUAY PORTRIEUX', '22', 'NAMO', 'FOSIT', 'Sémaphore de Saint-Quay', '[email protected]', '01 23 45 67 89', 'Saint-Quay-Portieux', 'https://extranet.legicem.metier.developpement-durable.gouv.fr/fiches-d-appui-semaphores-atlantique-r2370.html'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base, "url") VALUES (32, '0101000020E61000003A6DA0D306BA0240A70D74DA40874940', 'SEMAPHORE DUNKERQUE', '59', 'MEMN', 'FOSIT', 'Sémaphore de Dunkerque', '[email protected]', '01 23 45 67 89', 'Dunkerque', 'https://extranet.legicem.metier.developpement-durable.gouv.fr/fiches-d-appui-semaphores-atlantique-r2370.html'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base, "url") VALUES (33, '0101000020E6100000EA72FB830C95F93FF6285C8FC25D4940', 'SEMAPHORE BOULOGNE', '62', 'MEMN', 'FOSIT', 'Sémaphore de Boulogne sur mer', '[email protected]', '01 23 45 67 89', 'Boulogne-sur-Mer', 'https://extranet.legicem.metier.developpement-durable.gouv.fr/fiches-d-appui-semaphores-atlantique-r2370.html'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base, "url") VALUES (34, '0101000020E61000009C5713CF8A46F73F8B4602BE790D4940', 'SEMAPHORE AULT', '80', 'MEMN', 'FOSIT', 'Sémaphore d’Ault', '[email protected]', '01 23 45 67 89', 'Ault', 'https://extranet.legicem.metier.developpement-durable.gouv.fr/fiches-d-appui-semaphores-atlantique-r2370.html'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base, "url") VALUES (35, '0101000020E6100000C850D961EA72F13FDDFE204365F74840', 'SEMAPHORE DIEPPE', '76', 'MEMN', 'FOSIT', 'Sémaphore de Dieppe', '[email protected]', '01 23 45 67 89', 'Dieppe', 'https://extranet.legicem.metier.developpement-durable.gouv.fr/fiches-d-appui-semaphores-atlantique-r2370.html'); | ||
INSERT INTO semaphores (id, geom, nom, dept, facade, administration, unite, email, telephone, base, "url") VALUES (36, '0101000020E6100000BCBBBBBBBBBBD73F5813CF8A46E24840', 'SEMAPHORE FECAMP', '76', 'MEMN', 'FOSIT', 'Sémaphore de Fécamp', '[email protected]', '01 23 45 67 89', 'Fécamp', 'https://extranet.legicem.metier.developpement-durable.gouv.fr/fiches-d-appui-semaphores-atlantique-r2370.html'); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ SELECT | |
unite, | ||
email, | ||
telephone, | ||
base | ||
base, | ||
"url" | ||
FROM prod.semaphore | ||
WHERE geom IS NOT NULL and nom IS NOT NULL |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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