From 26f0a6e2cc3baf5f232ba8dddf347e7f202e9a53 Mon Sep 17 00:00:00 2001 From: matt Date: Tue, 12 Apr 2022 00:13:34 +0000 Subject: [PATCH] Added time field to testResult schema --- utility/db/initDb.js | 1 + 1 file changed, 1 insertion(+) diff --git a/utility/db/initDb.js b/utility/db/initDb.js index 8899d89..935b568 100644 --- a/utility/db/initDb.js +++ b/utility/db/initDb.js @@ -116,6 +116,7 @@ tableCreate.set('testResult', ` testId varchar(36) NOT NULL , accountId varchar(36) NOT NULL , mark int NOT NULL , + time datetime NOT NULL , CONSTRAINT Unq_testResult UNIQUE ( studentId, testId ) ); `);