File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const Langs = db.define('langs', {
27
27
} )
28
28
export type LangsAttributes = { lang_slug : string , lang_name :string , lang_version : string }
29
29
30
- const Submissions = db . define ( 'submissions' , {
30
+ const Submissions = db . define < Sequelize . Instance < SubmissionAttributes > , SubmissionAttributes > ( 'submissions' , {
31
31
id : {
32
32
type : Sequelize . INTEGER ,
33
33
autoIncrement : true ,
@@ -43,7 +43,7 @@ const Submissions = db.define('submissions', {
43
43
start_time : Sequelize . DATE ,
44
44
end_time : Sequelize . DATE ,
45
45
results : Sequelize . ARRAY ( Sequelize . INTEGER ) ,
46
- outputs : Sequelize . ARRAY ( Sequelize . STRING )
46
+ outputs : Sequelize . ARRAY ( Sequelize . STRING ) ,
47
47
} , {
48
48
paranoid : true , // We do not want to lose any submission data
49
49
timestamps : false // Start and end times are already logged
You can’t perform that action at this time.
0 commit comments