1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 20:39:28 +00:00

Added time field to testResult schema

This commit is contained in:
2022-04-12 00:13:34 +00:00
parent 3079de4692
commit 26f0a6e2cc

View File

@@ -116,6 +116,7 @@ tableCreate.set('testResult', `
testId varchar(36) NOT NULL , testId varchar(36) NOT NULL ,
accountId varchar(36) NOT NULL , accountId varchar(36) NOT NULL ,
mark int NOT NULL , mark int NOT NULL ,
time datetime NOT NULL ,
CONSTRAINT Unq_testResult UNIQUE ( studentId, testId ) CONSTRAINT Unq_testResult UNIQUE ( studentId, testId )
); );
`); `);