Skip to content

Commit fb54056

Browse files
committed
remove unique constraint as stay_id is a pk in constraint.sql
1 parent 8010a01 commit fb54056

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mimic-ed/buildmimic/postgres/create.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ CREATE TABLE mimic_ed.edstays
4545
hadm_id INT,
4646
stay_id INT NOT NULL,
4747
intime TIMESTAMP(0) NOT NULL,
48-
outtime TIMESTAMP(0) NOT NULL,
49-
CONSTRAINT edstays_stayid_unique UNIQUE (stay_id)
48+
outtime TIMESTAMP(0) NOT NULL
5049
) ;
5150

5251
--------------------------------------------------------

0 commit comments

Comments
 (0)