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
100a6bf0
Verified
Commit
100a6bf0
authored
7 years ago
by
Giovannoni Laurent
Browse files
Options
Downloads
Patches
Plain Diff
FIX pb with migration sql if do it twice
parent
58b910c4
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
sql/develop.sql
+1
-1
1 addition, 1 deletion
sql/develop.sql
with
1 addition
and
1 deletion
sql/develop.sql
+
1
−
1
View file @
100a6bf0
...
...
@@ -375,7 +375,7 @@ DROP TABLE IF EXISTS groupbasket_difflist_roles;
/*LISTMODELS*/
ALTER
TABLE
listmodels
DROP
COLUMN
IF
EXISTS
listmodel_type
;
ALTER
TABLE
listmodels
DROP
COLUMN
IF
EXISTS
coll_id
;
ALTER
TABLE
listmodels
ADD
COLUMN
id
serial
NOT
NULL
;
ALTER
TABLE
listmodels
ADD
COLUMN
IF
NOT
EXISTS
id
serial
NOT
NULL
;
Florian Azizian
@florian.azizian
·
Mar 02, 2018
IF NOT EXISTS ne fonctionne pas sur toutes les versions de postgres (9.3 par exemple)
IF NOT EXISTS ne fonctionne pas sur toutes les versions de postgres (9.3 par exemple)
Please
register
or
sign in
to reply
UPDATE
listmodels
SET
title
=
description
WHERE
title
=
''
OR
title
ISNULL
;
-- ************************************************************************* --
...
...
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