Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
sispub
openbis
Commits
3d6b2602
Commit
3d6b2602
authored
13 years ago
by
tpylak
Browse files
Options
Downloads
Patches
Plain Diff
LMS-2502 image transformations: db modification
SVN: 22912
parent
8f08c28e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
screening/source/sql/imaging/postgresql/014/schema-014.sql
+0
-1
0 additions, 1 deletion
screening/source/sql/imaging/postgresql/014/schema-014.sql
screening/source/sql/imaging/postgresql/migration/migration-013-014.sql
+5
-2
5 additions, 2 deletions
...ce/sql/imaging/postgresql/migration/migration-013-014.sql
with
5 additions
and
3 deletions
screening/source/sql/imaging/postgresql/014/schema-014.sql
+
0
−
1
View file @
3d6b2602
...
@@ -100,7 +100,6 @@ CREATE TABLE CHANNELS (
...
@@ -100,7 +100,6 @@ CREATE TABLE CHANNELS (
LABEL
NAME
NOT
NULL
,
LABEL
NAME
NOT
NULL
,
DESCRIPTION
DESCRIPTION
,
DESCRIPTION
DESCRIPTION
,
WAVELENGTH
INTEGER
,
WAVELENGTH
INTEGER
,
IMAGE_TRANSFORMER_FACTORY
BYTEA
,
COLOR
CHANNEL_COLOR
NOT
NULL
,
COLOR
CHANNEL_COLOR
NOT
NULL
,
DS_ID
TECH_ID
,
DS_ID
TECH_ID
,
...
...
This diff is collapsed.
Click to expand it.
screening/source/sql/imaging/postgresql/migration/migration-013-014.sql
+
5
−
2
View file @
3d6b2602
...
@@ -19,8 +19,11 @@ CREATE TABLE IMAGE_TRANSFORMATIONS (
...
@@ -19,8 +19,11 @@ CREATE TABLE IMAGE_TRANSFORMATIONS (
CREATE
INDEX
IMAGE_TRANSFORMATIONS_CHANNELS_IDX
ON
IMAGE_TRANSFORMATIONS
(
CHANNEL_ID
);
CREATE
INDEX
IMAGE_TRANSFORMATIONS_CHANNELS_IDX
ON
IMAGE_TRANSFORMATIONS
(
CHANNEL_ID
);
insert
into
IMAGE_TRANSFORMATIONS
(
ID
,
CODE
,
LABEL
,
IMAGE_TRANSFORMER_FACTORY
,
IS_EDITABLE
,
CHANNEL_ID
)
insert
into
IMAGE_TRANSFORMATIONS
(
ID
,
CODE
,
LABEL
,
DESCRIPTION
,
IMAGE_TRANSFORMER_FACTORY
,
IS_EDITABLE
,
CHANNEL_ID
)
select
nextval
(
'image_transformations_id_seq'
),
'CUSTOM'
,
'Custom'
,
select
nextval
(
'image_transformations_id_seq'
),
'_CUSTOM'
,
'Custom'
,
'Custom image transformation defined with the Color Adjustment tool.'
,
ch
.
IMAGE_TRANSFORMER_FACTORY
,
'T'
,
ch
.
ID
ch
.
IMAGE_TRANSFORMER_FACTORY
,
'T'
,
ch
.
ID
from
channels
ch
from
channels
ch
where
ch
.
IMAGE_TRANSFORMER_FACTORY
is
not
NULL
;
where
ch
.
IMAGE_TRANSFORMER_FACTORY
is
not
NULL
;
alter
table
CHANNELS
drop
column
IMAGE_TRANSFORMER_FACTORY
;
\ No newline at end of file
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