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
714d8207
Commit
714d8207
authored
14 years ago
by
cramakri
Browse files
Options
Downloads
Patches
Plain Diff
LMS-1569 Create FEATURE_DEFS and FEATURE_VALUES tables.
SVN: 16464
parent
df5688f8
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
screening/source/sql/postgresql/002/schema-002.sql
+3
-6
3 additions, 6 deletions
screening/source/sql/postgresql/002/schema-002.sql
with
3 additions
and
6 deletions
screening/source/sql/postgresql/002/schema-002.sql
+
3
−
6
View file @
714d8207
...
...
@@ -156,8 +156,6 @@ CREATE INDEX IMAGES_THUMBNAIL_IDX ON ACQUIRED_IMAGES(THUMBNAIL_ID);
/* FEATURE VECTORS */
/* ---------------------------------------------------------------------- */
/* --- UNUSED YET ---------------------------------------
CREATE
TABLE
FEATURE_DEFS
(
ID
BIGSERIAL
NOT
NULL
,
...
...
@@ -188,12 +186,11 @@ CREATE TABLE FEATURE_VALUES (
PRIMARY
KEY
(
ID
),
CONSTRAINT
FK_FEATURE_VALUES_1
FOREIGN
KEY
(
FD_ID
)
REFERENCES
FEATURE_DEFS
(
ID
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
,
CONSTRAINT FK_FEATURE_VALUES_2 FOREIGN KEY (DS_ID) REFERENCES DATA_SETS (ID) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT FEATURE_VALUES_UK_1 UNIQUE(Z_in_M, T_in_SEC)
CONSTRAINT
FK_FEATURE_VALUES_2
FOREIGN
KEY
(
DS_ID
)
REFERENCES
DATA_SETS
(
ID
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
-- This constaint does not make any sense. Leave it out for now.
-- CONSTRAINT FEATURE_VALUES_UK_1 UNIQUE(Z_in_M, T_in_SEC)
);
CREATE
INDEX
FEATURE_VALUES_FD_IDX
ON
FEATURE_VALUES
(
FD_ID
);
CREATE
INDEX
FEATURE_VALUES_DS_IDX
ON
FEATURE_VALUES
(
DS_ID
);
CREATE
INDEX
FEATURE_VALUES_Z_AND_T_IDX
ON
FEATURE_VALUES
(
Z_in_M
,
T_in_SEC
);
--- END UNUSED YET --------------------------------------- */
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