Skip to content

Commit

Permalink
added UNIQUE constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
Timur committed Mar 13, 2020
1 parent 3d20bad commit 8f4a7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion working/DevV5_DDL.sql
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ CREATE TABLE concept_ancestor (
DROP TABLE IF EXISTS relationship CASCADE;
CREATE TABLE relationship (
relationship_id VARCHAR (20) NOT NULL,
relationship_name VARCHAR (255) NOT NULL,
relationship_name VARCHAR (255) NOT NULL UNIQUE,
is_hierarchical int NOT NULL,
defines_ancestry int2 NOT NULL,
reverse_relationship_id VARCHAR (20) NOT NULL,
Expand Down

0 comments on commit 8f4a7fb

Please sign in to comment.