From 551ac6cd9636f2e1279c79b9a390040780d21461 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Thu, 31 Mar 2022 00:01:21 +1100 Subject: Fixed typo in table name 'client_relase' -> 'client_release'. Fixed more typos of the same typo. --- util/src/migrations/1648643945733-ReleaseTypo.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 util/src/migrations/1648643945733-ReleaseTypo.ts (limited to 'util/src/migrations') diff --git a/util/src/migrations/1648643945733-ReleaseTypo.ts b/util/src/migrations/1648643945733-ReleaseTypo.ts new file mode 100644 index 00000000..194cb1bf --- /dev/null +++ b/util/src/migrations/1648643945733-ReleaseTypo.ts @@ -0,0 +1,13 @@ +import { MigrationInterface, QueryRunner } from "typeorm"; + +export class ReleaseTypo1648643945733 implements MigrationInterface { + name = "ReleaseTypo1648643945733"; + + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.renameTable("client_relase", "client_release"); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.renameTable("client_release", "client_relase"); + } +} -- cgit 1.5.1