Skip to content

Commit be97f9c

Browse files
author
matthias_schaub
committed
remove primary and foreign key constraint on results_temp table
1 parent ba9f6c9 commit be97f9c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

postgres/initdb.sql

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,5 @@ CREATE TABLE IF NOT EXISTS results_temp (
105105
start_time timestamp,
106106
end_time timestamp,
107107
result int,
108-
PRIMARY KEY (project_id, group_id, task_id, user_id),
109-
FOREIGN KEY (project_id) REFERENCES projects (project_id),
110-
FOREIGN KEY (project_id, group_id) REFERENCES GROUPS (project_id, group_id),
111-
FOREIGN KEY (project_id, group_id, task_id) REFERENCES tasks (project_id, group_id, task_id),
112-
FOREIGN KEY (user_id) REFERENCES users (user_id)
113108
);
114109

0 commit comments

Comments
 (0)