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
26f899c7
Commit
26f899c7
authored
2 years ago
by
Jean-Laurent DUZANT
Browse files
Options
Downloads
Patches
Plain Diff
FIX #22825 TIME 0 remove ';'
parent
255390ec
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/21.03/210321.sql
+1
-1
1 addition, 1 deletion
migration/21.03/210321.sql
with
1 addition
and
1 deletion
migration/21.03/210321.sql
+
1
−
1
View file @
26f899c7
...
...
@@ -35,7 +35,7 @@ DECLARE
chrono_seq_name
text
;
BEGIN
-- Loop through each chrono (of current year) found in parameters table
FOR
chrono
IN
(
SELECT
id
,
param_value_int
as
value
FROM
parameters
WHERE
id
LIKE
'chrono%'
||
EXTRACT
(
YEAR
FROM
CURRENT_DATE
)
;
)
LOOP
FOR
chrono
IN
(
SELECT
id
,
param_value_int
as
value
FROM
parameters
WHERE
id
LIKE
'chrono%'
||
EXTRACT
(
YEAR
FROM
CURRENT_DATE
))
LOOP
chrono_seq_name
:
=
CONCAT
(
chrono
.
id
,
'_seq'
);
-- Check if sequence exist, if not create
...
...
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