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
79699c8f
Verified
Commit
79699c8f
authored
5 years ago
by
Florian Azizian
Browse files
Options
Downloads
Patches
Plain Diff
FIX #12091 TIME 0:15 fix 2003 sql migration
parent
75ad677e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
migration/20.03/2003.sql
+3
-1
3 additions, 1 deletion
migration/20.03/2003.sql
with
3 additions
and
1 deletion
migration/20.03/2003.sql
+
3
−
1
View file @
79699c8f
...
@@ -88,6 +88,9 @@ DELETE FROM actions_groupbaskets WHERE id_action in (SELECT id FROM actions WHER
...
@@ -88,6 +88,9 @@ DELETE FROM actions_groupbaskets WHERE id_action in (SELECT id FROM actions WHER
DELETE
FROM
groupbasket_redirect
WHERE
action_id
in
(
SELECT
id
FROM
actions
WHERE
component
=
'viewDoc'
OR
action_page
in
(
'view'
,
'validate_mail'
,
'process'
,
'visa_mail'
));
DELETE
FROM
groupbasket_redirect
WHERE
action_id
in
(
SELECT
id
FROM
actions
WHERE
component
=
'viewDoc'
OR
action_page
in
(
'view'
,
'validate_mail'
,
'process'
,
'visa_mail'
));
DELETE
FROM
actions
WHERE
component
=
'viewDoc'
OR
action_page
in
(
'view'
,
'validate_mail'
,
'process'
,
'visa_mail'
);
DELETE
FROM
actions
WHERE
component
=
'viewDoc'
OR
action_page
in
(
'view'
,
'validate_mail'
,
'process'
,
'visa_mail'
);
ALTER
TABLE
actions
DROP
COLUMN
IF
EXISTS
parameters
;
ALTER
TABLE
actions
ADD
COLUMN
parameters
jsonb
NOT
NULL
DEFAULT
'{}'
;
UPDATE
actions
SET
component
=
'rejectVisaBackToPreviousAction'
WHERE
action_page
=
'rejection_visa_previous'
;
UPDATE
actions
SET
component
=
'rejectVisaBackToPreviousAction'
WHERE
action_page
=
'rejection_visa_previous'
;
UPDATE
actions
SET
component
=
'redirectInitiatorEntityAction'
WHERE
action_page
=
'redirect_visa_entity'
;
UPDATE
actions
SET
component
=
'redirectInitiatorEntityAction'
WHERE
action_page
=
'redirect_visa_entity'
;
UPDATE
actions
SET
component
=
'rejectVisaBackToPreviousAction'
WHERE
action_page
=
'rejection_visa_previous'
;
UPDATE
actions
SET
component
=
'rejectVisaBackToPreviousAction'
WHERE
action_page
=
'rejection_visa_previous'
;
...
@@ -524,7 +527,6 @@ DO $$ BEGIN
...
@@ -524,7 +527,6 @@ DO $$ BEGIN
DELETE
FROM
actions_groupbaskets
WHERE
id_action
in
(
SELECT
id
FROM
actions
WHERE
enabled
=
'N'
);
DELETE
FROM
actions_groupbaskets
WHERE
id_action
in
(
SELECT
id
FROM
actions
WHERE
enabled
=
'N'
);
DELETE
FROM
groupbasket_redirect
WHERE
action_id
in
(
SELECT
id
FROM
actions
WHERE
enabled
=
'N'
);
DELETE
FROM
groupbasket_redirect
WHERE
action_id
in
(
SELECT
id
FROM
actions
WHERE
enabled
=
'N'
);
DELETE
FROM
actions
WHERE
enabled
=
'N'
;
DELETE
FROM
actions
WHERE
enabled
=
'N'
;
ALTER
TABLE
actions
ADD
COLUMN
parameters
jsonb
NOT
NULL
DEFAULT
'{}'
;
END
IF
;
END
IF
;
END
$$
;
END
$$
;
...
...
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