Fix users being able to claim a card twice if the user has multiple of it already

This commit is contained in:
Ethan Lane 2023-09-13 14:37:17 +01:00
parent 74cdf818d1
commit ad505b3ea2
7 changed files with 87 additions and 15 deletions

View file

@ -0,0 +1,17 @@
import { MigrationInterface, QueryRunner } from "typeorm"
import MigrationHelper from "../../../../helpers/MigrationHelper"
export class CreateClaim1694609771821 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
MigrationHelper.Up('1694609771821-CreateClaim', '0.1.5', [
'01-CreateClaim',
'02-MoveToClaim',
'03-AlterInventory',
], queryRunner);
}
public async down(queryRunner: QueryRunner): Promise<void> {
}
}