Skip to content

Commit

Permalink
fix submission table index
Browse files Browse the repository at this point in the history
  • Loading branch information
19mdavenport committed Nov 20, 2024
1 parent 206bb1f commit aab37bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/edu/byu/cs/dataAccess/sql/SqlDb.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ PRIMARY KEY (`net_id`)
`verification` JSON,
`admin` BOOL NOT NULL,
PRIMARY KEY (`id`),
INDEX sort_index (timestamp),
INDEX sort_index (`net_id`,`phase`,`passed`,`score`,`timestamp`),
CONSTRAINT `net_id`
FOREIGN KEY (`net_id`)
REFERENCES `user` (`net_id`)
Expand Down

0 comments on commit aab37bf

Please sign in to comment.