Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaarchCourrier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
MaarchCourrier
Commits
3842ba3e
Verified
Commit
3842ba3e
authored
4 years ago
by
Damien
Browse files
Options
Downloads
Patches
Plain Diff
FEAT #14129 TIME 0:30 Minor sql update
parent
c19d35a1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
migration/20.03/2003.sql
+4
-0
4 additions, 0 deletions
migration/20.03/2003.sql
migration/20.03/20036.sql
+12
-0
12 additions, 0 deletions
migration/20.03/20036.sql
with
16 additions
and
0 deletions
migration/20.03/2003.sql
+
4
−
0
View file @
3842ba3e
...
@@ -586,6 +586,10 @@ FROM usergroups_services WHERE group_id IN (
...
@@ -586,6 +586,10 @@ FROM usergroups_services WHERE group_id IN (
WHERE
service_id
=
'sendmail'
AND
group_id
not
in
(
SELECT
group_id
FROM
usergroups_services
WHERE
service_id
=
'manage_numeric_package'
)
WHERE
service_id
=
'sendmail'
AND
group_id
not
in
(
SELECT
group_id
FROM
usergroups_services
WHERE
service_id
=
'manage_numeric_package'
)
);
);
DELETE
FROM
usergroups_services
WHERE
service_id
=
'include_folder_perimeter'
;
INSERT
INTO
usergroups_services
(
group_id
,
service_id
)
SELECT
distinct
(
group_id
),
'include_folder_perimeter'
FROM
usergroups_services
;
INSERT
INTO
usergroups_services
(
group_id
,
service_id
)
INSERT
INTO
usergroups_services
(
group_id
,
service_id
)
SELECT
distinct
(
group_id
),
'update_diffusion_indexing'
SELECT
distinct
(
group_id
),
'update_diffusion_indexing'
...
...
This diff is collapsed.
Click to expand it.
migration/20.03/20036.sql
0 → 100644
+
12
−
0
View file @
3842ba3e
-- *************************************************************************--
-- --
-- --
-- Model migration script - 20.03.5 to 20.03.6 --
-- --
-- --
-- *************************************************************************--
DELETE
FROM
usergroups_services
WHERE
service_id
=
'include_folder_perimeter'
;
INSERT
INTO
usergroups_services
(
group_id
,
service_id
)
SELECT
distinct
(
group_id
),
'include_folder_perimeter'
FROM
usergroups_services
;
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