diff --git a/migrations/20240727123308_initial.sql b/migrations/20240727123308_initial.sql index 0178f81..43ce8a3 100644 --- a/migrations/20240727123308_initial.sql +++ b/migrations/20240727123308_initial.sql @@ -123,7 +123,7 @@ CREATE TABLE IF NOT EXISTS solutions id serial NOT NULL, participant_id INT REFERENCES participants ON DELETE CASCADE, task_id INT REFERENCES problems ON DELETE CASCADE, - language_id INT NOT NULL,REFERENCES languages ON DELETE CASCADE, +-- language_id INT NOT NULL REFERENCES languages ON DELETE CASCADE, solution_hash CHAR(128) NOT NULL, result INT NOT NULL, score INT NOT NULL, @@ -133,7 +133,7 @@ CREATE TABLE IF NOT EXISTS solutions ); CREATE INDEX ON solutions USING BTREE (id); -CREATE INDEX ON solutions USING BTREE (id,participant_id,task_id,language_id); +-- CREATE INDEX ON solutions USING BTREE (id,participant_id,task_id,language_id); FIXME