lrf 4 月之前
父節點
當前提交
8b036f3622
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/entity/match/matchRegistration.entity.ts

+ 2 - 2
src/entity/match/matchRegistration.entity.ts

@@ -36,8 +36,8 @@ export class MatchRegistration extends BaseModel {
   @Column({ type: 'timestamp without time zone', nullable: true, comment: '初赛开始时间', transformer: { from: value => (value ? dayjs(value).format('YYYY-MM-DD HH:mm:ss') : value), to: value => value } })
   start_time: Date;
 
-  @Column({ type: 'integer', nullable: true, comment: '是否确认参加决赛', default: '0' })
-  final_confirm: number;
+  @Column({ type: 'character varying', nullable: true, comment: '是否确认参加决赛', default: '0' })
+  final_confirm: string;
   @Column({ type: 'integer', nullable: true, comment: '决赛顺序' })
   final_order_no: number;
   @Column({ type: 'integer', nullable: true, comment: '决赛总分数' })