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:01:21 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-03-31 00:01:21 +1100
commit551ac6cd9636f2e1279c79b9a390040780d21461 (patch)
tree64d05c9f18d4d0f5576246065eea6c5df5da16d8 /util/src/migrations
parentMake member.premium_since ISO8601 timestamp (diff)
downloadserver-551ac6cd9636f2e1279c79b9a390040780d21461.tar.xz
Fixed typo in table name 'client_relase' -> 'client_release'. Fixed more typos of the same typo.
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"); + } +}