|
|
@@ -9,7 +9,7 @@ export class SubmissionRecords {
|
|
|
@Column({ name: 'classroom_no', type: 'varchar', length: 255, nullable: true, comment: '教室号' })
|
|
|
classroomNo!: string | null;
|
|
|
|
|
|
- @Column({ name: 'user_id', type: 'int', nullable: true, comment: '用户id' })
|
|
|
+ @Column({ name: 'user_id', type: 'int', unsigned: true, nullable: true, comment: '用户id' })
|
|
|
userId!: number | null;
|
|
|
|
|
|
// 单向关联定义
|