1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 15:59:25 +00:00

Remove requirement for no two of the same test to be on the same day

This commit is contained in:
2022-04-21 15:46:34 +00:00
parent 4fcdaaa521
commit f2d57a86fe

View File

@@ -105,8 +105,7 @@ tableCreate.set('test', `
testId varchar(36) NOT NULL PRIMARY KEY,
testTemplateId varchar(36) NOT NULL ,
classId varchar(36) NOT NULL ,
testDate date NOT NULL ,
CONSTRAINT Unq_test UNIQUE ( testTemplateId, classId, testDate )
testDate date NOT NULL
);
`);