Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
minerva
core
Commits
52d12a9c
Commit
52d12a9c
authored
6 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
remove duplicate reaction ids
parent
dd74eff5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!357
12.0.1 into master
,
!354
Resolve "problem with loading old maps"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
persist/src/db/12.0.1/fix_db_20180723.sql
+2
-0
2 additions, 0 deletions
persist/src/db/12.0.1/fix_db_20180723.sql
with
2 additions
and
0 deletions
persist/src/db/12.0.1/fix_db_20180723.sql
0 → 100644
+
2
−
0
View file @
52d12a9c
-- issue #461 - duplicates in reaction ids resolved
update
reaction_table
r
set
idreaction
=
concat
(
r
.
idreaction
,
'_'
,
r
.
iddb
)
from
(
select
idreaction
,
model_iddb
from
reaction_table
group
by
idreaction
,
model_iddb
having
count
(
*
)
>
1
)
t
where
r
.
idreaction
=
t
.
idreaction
and
r
.
model_iddb
=
t
.
model_iddb
;
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