Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
ProDev_PostgREST
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Benjamin Lecha
ProDev_PostgREST
Commits
999bf616
Commit
999bf616
authored
11 months ago
by
LECHA Benjamin
Browse files
Options
Downloads
Patches
Plain Diff
Ajout de la database
parent
18caf31d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
database.sql
+21
-0
21 additions, 0 deletions
database.sql
with
21 additions
and
0 deletions
database.sql
0 → 100644
+
21
−
0
View file @
999bf616
CREATE
TABLE
"type_reseau"
(
"id_type_reseau"
serial
unique
,
"nom_type_reseau"
character
varying
(
255
)
);
INSERT
INTO
"type_reseau"
(
"id_type_reseau"
,
"nom_type_reseau"
)
VALUES
(
1
,
'Régional'
),
(
2
,
'National'
);
CREATE
TABLE
"reseau"
(
"id_reseau"
serial
,
"nom_reseau"
character
varying
(
255
),
"acronyme_reseau"
character
varying
(
20
),
"id_type_reseau"
integer
NOT
NULL
,
CONSTRAINT
"type_reseau_id_type_reseau_fkey"
FOREIGN
KEY
(
id_type_reseau
)
REFERENCES
type_reseau
(
id_type_reseau
)
);
INSERT
INTO
"reseau"
(
"id_reseau"
,
"nom_reseau"
,
"acronyme_reseau"
,
"id_type_reseau"
)
VALUES
(
1
,
'Réseau Provençal des Informaticiens Développeurs d
''
Applications'
,
'ProDev'
,
1
),
(
2
,
'Métiers de l
''
Informatique Réunis en Réseau Inter-Etablissement du Nord'
,
'Min2RIEN'
,
1
),
(
3
,
'Réseau des acteurs du Développement LOGiciel au sein de l
''
Enseignement Supérieur et de la Recherche'
,
'DevLog'
,
2
);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment