1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-02 16:59:30 +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, testId varchar(36) NOT NULL PRIMARY KEY,
testTemplateId varchar(36) NOT NULL , testTemplateId varchar(36) NOT NULL ,
classId varchar(36) NOT NULL , classId varchar(36) NOT NULL ,
testDate date NOT NULL , testDate date NOT NULL
CONSTRAINT Unq_test UNIQUE ( testTemplateId, classId, testDate )
); );
`); `);