Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
auth
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
lib
unicaen
auth
Commits
bd13eceb
Commit
bd13eceb
authored
6 years ago
by
Bertrand Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
Corrections script de création de la bdd.
parent
a15d657f
No related branches found
No related tags found
No related merge requests found
Pipeline
#3560
failed
6 years ago
Stage: tests
Stage: publish
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
data/schema.sqlite.sql
+1
-1
1 addition, 1 deletion
data/schema.sqlite.sql
data/schema_mysql.sql
+1
-1
1 addition, 1 deletion
data/schema_mysql.sql
data/schema_oracle.sql
+1
-1
1 addition, 1 deletion
data/schema_oracle.sql
data/schema_postgresql.sql
+1
-1
1 addition, 1 deletion
data/schema_postgresql.sql
with
4 additions
and
4 deletions
data/schema.sqlite.sql
+
1
−
1
View file @
bd13eceb
...
...
@@ -95,4 +95,4 @@ INSERT INTO user (username, email, display_name, password, state) VALUES
(
'demo'
,
'demo@mail.fr'
,
'Demo'
,
'$2y$10$PxXnVLYnGEzEnfqPqRKJSe9AabocES2H4bBK5VzzJlzuj1rVt7Lwu'
,
1
);
INSERT
INTO
user_role_linker
(
user_id
,
role_id
)
SELECT
u
.
id
,
r
.
id
FROM
user
u
,
user_role
r
WHERE
u
.
username
=
'
admin
'
and
r
.
role_id
=
'Standard'
;
SELECT
u
.
id
,
r
.
id
FROM
user
u
,
user_role
r
WHERE
u
.
username
=
'
demo
'
and
r
.
role_id
=
'Standard'
;
This diff is collapsed.
Click to expand it.
data/schema_mysql.sql
+
1
−
1
View file @
bd13eceb
...
...
@@ -99,4 +99,4 @@ INSERT INTO user (username, email, display_name, password, state) VALUES
(
'demo'
,
'demo@mail.fr'
,
'Demo'
,
'$2y$10$PxXnVLYnGEzEnfqPqRKJSe9AabocES2H4bBK5VzzJlzuj1rVt7Lwu'
,
1
);
INSERT
INTO
user_role_linker
(
user_id
,
role_id
)
SELECT
u
.
id
,
r
.
id
FROM
user
u
,
user_role
r
WHERE
u
.
username
=
'
admin
'
and
r
.
role_id
=
'Standard'
;
SELECT
u
.
id
,
r
.
id
FROM
user
u
,
user_role
r
WHERE
u
.
username
=
'
demo
'
and
r
.
role_id
=
'Standard'
;
This diff is collapsed.
Click to expand it.
data/schema_oracle.sql
+
1
−
1
View file @
bd13eceb
...
...
@@ -58,7 +58,7 @@ INSERT INTO "USER" (username, email, display_name, password, state) VALUES
(
'demo'
,
'demo@mail.fr'
,
'Demo'
,
'$2y$10$PxXnVLYnGEzEnfqPqRKJSe9AabocES2H4bBK5VzzJlzuj1rVt7Lwu'
,
1
);
INSERT
INTO
USER_ROLE_LINKER
(
user_id
,
role_id
)
SELECT
u
.
id
,
r
.
id
FROM
"USER"
u
,
user_role
r
WHERE
u
.
username
=
'
admin
'
and
r
.
role_id
=
'Standard'
;
SELECT
u
.
id
,
r
.
id
FROM
"USER"
u
,
user_role
r
WHERE
u
.
username
=
'
demo
'
and
r
.
role_id
=
'Standard'
;
...
...
This diff is collapsed.
Click to expand it.
data/schema_postgresql.sql
+
1
−
1
View file @
bd13eceb
...
...
@@ -92,4 +92,4 @@ INSERT INTO "user" (username, email, display_name, password, state) VALUES
(
'demo'
,
'demo@mail.fr'
,
'Demo'
,
'$2y$10$PxXnVLYnGEzEnfqPqRKJSe9AabocES2H4bBK5VzzJlzuj1rVt7Lwu'
,
1
);
INSERT
INTO
user_role_linker
(
user_id
,
role_id
)
SELECT
u
.
id
,
r
.
id
FROM
"user"
u
,
user_role
r
WHERE
u
.
username
=
'
admin
'
and
r
.
role_id
=
'Standard'
;
SELECT
u
.
id
,
r
.
id
FROM
"user"
u
,
user_role
r
WHERE
u
.
username
=
'
demo
'
and
r
.
role_id
=
'Standard'
;
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