File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
backend/typescript/models Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,12 @@ import {
99 BelongsTo ,
1010} from "sequelize-typescript" ;
1111import { NonAttribute } from "sequelize" ;
12- import { Review , ReviewStatus , ReviewStatusEnum } from "../types" ;
12+ import {
13+ Review ,
14+ ReviewStatus ,
15+ ReviewStatusEnum ,
16+ SkillCategory ,
17+ } from "../types" ;
1318import ApplicantRecord from "./applicantRecord.model" ;
1419import User from "./user.model" ;
1520
@@ -32,12 +37,19 @@ export default class ReviewedApplicantRecord extends Model {
3237 } )
3338 status ! : ReviewStatus ;
3439
40+ @Column ( {
41+ type : DataType . STRING ,
42+ defaultValue : null ,
43+ allowNull : true ,
44+ } )
45+ skillCategory ?: SkillCategory ;
46+
3547 @Column ( {
3648 type : DataType . INTEGER ,
3749 allowNull : true ,
3850 defaultValue : null ,
3951 } )
40- score ! : number ;
52+ score ? : number ;
4153
4254 @Column ( {
4355 type : DataType . BOOLEAN ,
You can’t perform that action at this time.
0 commit comments