Commit 5bb48bed authored by nanahira's avatar nanahira

fix player length

parent 6af41739
...@@ -25,7 +25,7 @@ let CloudReplayPlayer = CloudReplayPlayer_1 = class CloudReplayPlayer extends Ba ...@@ -25,7 +25,7 @@ let CloudReplayPlayer = CloudReplayPlayer_1 = class CloudReplayPlayer extends Ba
}; };
__decorate([ __decorate([
typeorm_1.Index(), typeorm_1.Index(),
typeorm_1.Column({ type: "varchar", length: 40 }), typeorm_1.Column({ type: "varchar", length: 128 }),
__metadata("design:type", String) __metadata("design:type", String)
], CloudReplayPlayer.prototype, "key", void 0); ], CloudReplayPlayer.prototype, "key", void 0);
__decorate([ __decorate([
......
...@@ -6,7 +6,7 @@ import {BasePlayer} from "./BasePlayer"; ...@@ -6,7 +6,7 @@ import {BasePlayer} from "./BasePlayer";
@Entity() @Entity()
export class CloudReplayPlayer extends BasePlayer { export class CloudReplayPlayer extends BasePlayer {
@Index() @Index()
@Column({ type: "varchar", length: 40 }) @Column({ type: "varchar", length: 128 })
key: string; key: string;
@ManyToOne(() => CloudReplay, replay => replay.players) @ManyToOne(() => CloudReplay, replay => replay.players)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment