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
commitc188e23cf6e925b3384db9f9f435ea1af280a5a0 (patch)
tree68ad94a4898c321aa43bed37876c62a86a6dcf5c /util/src/migrations
parentMake member.premium_since ISO8601 timestamp (diff)
downloadserver-c188e23cf6e925b3384db9f9f435ea1af280a5a0.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"); + } +}