We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2df8c0a commit 7c804aeCopy full SHA for 7c804ae
backend/typescript/models/adminComment.model.ts
@@ -18,11 +18,11 @@ export default class AdminComment extends Model {
18
id!: string;
19
20
@ForeignKey(() => User)
21
- @Column({ type: DataType.INTEGER })
+ @Column({ type: DataType.INTEGER, allowNull: false })
22
userId!: number;
23
24
@ForeignKey(() => ApplicantRecord)
25
- @Column({ type: DataType.UUID })
+ @Column({ type: DataType.UUID, allowNull: false })
26
applicantRecordId!: string;
27
28
@Column({ type: DataType.STRING, allowNull: false })
0 commit comments