-
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.
Add secmar_json_resultats_humain_categorie
- Loading branch information
1 parent
28c17ad
commit 37a23e0
Showing
3 changed files
with
47 additions
and
10 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
20 changes: 20 additions & 0 deletions
20
opendata/sql/secmar_json/secmar_json_resultats_humain_categorie.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,20 @@ | ||
DROP TABLE IF EXISTS secmar_json_resultats_humain_categorie; | ||
|
||
CREATE TABLE secmar_json_resultats_humain_categorie ( | ||
seamis varchar primary key, | ||
secmar varchar | ||
); | ||
|
||
CREATE INDEX ON secmar_json_resultats_humain_categorie(secmar); | ||
|
||
INSERT INTO secmar_json_resultats_humain_categorie | ||
(seamis, secmar) | ||
VALUES | ||
('AUTRE', 'Autre'), | ||
('PLAISANCIER', 'Plaisancier français'), | ||
('PRATIQUANT_LOISIRS_NAUTIQUES', 'Pratiquant loisirs nautiques'), | ||
('PROFESSIONNEL', 'Commerce français'), | ||
('MIGRANT', 'Migrant'), | ||
('PECHEUR_PRO', 'Pêcheur français'), | ||
('PECHEUR_AMATEUR', 'Pêcheur amateur') | ||
; |
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