summary refs log tree commit diff
path: root/util/src/migrations
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-03-31 00:06:20 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-03-31 00:06:20 +1100
commit91ca2efb7cd9abc40d7be8837baf017592e84aa0 (patch)
tree2322eb600fe2bce6eff8487ca1e37a94541113b4 /util/src/migrations
parentMerge branch 'master' into slowcord (diff)
parentFixed typo in table name 'client_relase' -> 'client_release'. Fixed more typo... (diff)
downloadserver-ts-91ca2efb7cd9abc40d7be8837baf017592e84aa0.tar.xz
Merge branch 'fix/relase_typo' into slowcord
Diffstat (limited to 'util/src/migrations')
-rw-r--r--util/src/migrations/1648643945733-ReleaseTypo.ts13
1 files changed, 13 insertions, 0 deletions
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<void> { + await queryRunner.renameTable("client_relase", "client_release"); + } + + public async down(queryRunner: QueryRunner): Promise<void> { + await queryRunner.renameTable("client_release", "client_relase"); + } +}