Browse Source

fix code unable to be judged in contests

pull/6/head
hankeke303 6 years ago
parent
commit
04688d7726
  1. 2
      models/contest_player.ts

2
models/contest_player.ts

@ -22,7 +22,7 @@ export default class ContestPlayer extends Model {
@TypeORM.Column({ nullable: true, type: "integer" }) @TypeORM.Column({ nullable: true, type: "integer" })
score: number; score: number;
@TypeORM.Column({ nullable: true, type: "json" }) @TypeORM.Column({ default: JSON.stringify({}), type: "json" })
score_details: object; score_details: object;
@TypeORM.Column({ nullable: true, type: "integer" }) @TypeORM.Column({ nullable: true, type: "integer" })

Loading…
Cancel
Save