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
e843a6ed
Commit
e843a6ed
authored
12 years ago
by
jakubs
Browse files
Options
Downloads
Patches
Plain Diff
BIS-371 SP-569 fix the typo in schema
SVN: 28640
parent
bdd9d424
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
screening/source/sql/imaging/postgresql/023/schema-023.sql
+1
-1
1 addition, 1 deletion
screening/source/sql/imaging/postgresql/023/schema-023.sql
with
1 addition
and
1 deletion
screening/source/sql/imaging/postgresql/023/schema-023.sql
+
1
−
1
View file @
e843a6ed
...
...
@@ -126,7 +126,7 @@ CREATE TABLE CHANNELS (
PRIMARY
KEY
(
ID
),
CONSTRAINT
FK_CHANNELS_1
FOREIGN
KEY
(
DS_ID
)
REFERENCES
IMAGE_DATA_SETS
(
ID
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
,
CONSTRAINT
FK_CHANNELS_2
FOREIGN
KEY
(
EXP_ID
)
REFERENCES
EXPERIMENTS
(
ID
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
,
CONSTRAINT
CHANNELS
_DS_EXP_ARC_CK
CHECK
((
DS_ID
IS
NOT
NULL
AND
EXP_ID
IS
NULL
)
OR
(
DS_ID
IS
NULL
AND
EXP_ID
IS
NOT
NULL
)),
CONSTRAINT
CHANNELS_DS_EXP_ARC_CK
CHECK
((
DS_ID
IS
NOT
NULL
AND
EXP_ID
IS
NULL
)
OR
(
DS_ID
IS
NULL
AND
EXP_ID
IS
NOT
NULL
)),
CONSTRAINT
CHANNELS_UK_1
UNIQUE
(
CODE
,
DS_ID
),
CONSTRAINT
CHANNELS_UK_2
UNIQUE
(
CODE
,
EXP_ID
)
...
...
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