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:
@@ -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 )
|
|
||||||
);
|
);
|
||||||
`);
|
`);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user