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
88ad21c3
Commit
88ad21c3
authored
8 years ago
by
piotr.gawron
Browse files
Options
Downloads
Patches
Plain Diff
db script gets name from old impl
parent
d5809d4c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1
Issue 37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
persist/src/db/10.0.3/fix_db_20160929.sql
+3
-0
3 additions, 0 deletions
persist/src/db/10.0.3/fix_db_20160929.sql
with
3 additions
and
0 deletions
persist/src/db/10.0.3/fix_db_20160929.sql
+
3
−
0
View file @
88ad21c3
...
...
@@ -13,6 +13,9 @@ ALTER TABLE alias_table ADD COLUMN fullname character varying(255);
update
alias_table
set
fullname
=
(
select
species_table
.
fullname
from
species_table
where
alias_table
.
idelementdb
=
species_table
.
iddb
);
alter
table
species_table
drop
column
fullname
;
-- name
update
alias_table
set
name
=
(
select
species_table
.
name
from
species_table
where
alias_table
.
idelementdb
=
species_table
.
iddb
)
where
name
is
null
or
name
=
''
;
-- notes
ALTER
TABLE
alias_table
ADD
COLUMN
notes
text
;
update
alias_table
set
notes
=
(
select
species_table
.
notes
from
species_table
where
alias_table
.
idelementdb
=
species_table
.
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