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
e039ec8d
Commit
e039ec8d
authored
2 years ago
by
Jean-Laurent DUZANT
Browse files
Options
Downloads
Patches
Plain Diff
FIX #19580 TIME 0 replace 100 to 1 in migration
parent
94bb20ba
No related branches found
Branches containing commit
No related tags found
Tags containing commit
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 @
e039ec8d
...
...
@@ -34,7 +34,7 @@ DECLARE
BEGIN
-- Check if sequence exist, if not create
IF
NOT
EXISTS
(
SELECT
0
FROM
pg_class
where
relname
=
chrono_seq_name
)
THEN
EXECUTE
'CREATE SEQUENCE '
||
chrono_seq_name
||
' INCREMENT 1 MINVALUE 1
00
MAXVALUE 9223372036854775807 START 1
00
CACHE 1;'
;
EXECUTE
'CREATE SEQUENCE '
||
chrono_seq_name
||
' INCREMENT 1 MINVALUE 1 MAXVALUE 9223372036854775807 START 1 CACHE 1;'
;
END
IF
;
-- Check if chrono exist in parameters table, if not create
IF
NOT
EXISTS
(
SELECT
0
FROM
parameters
where
id
=
chrono_id_name
)
THEN
...
...
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