summary refs log tree commit diff
path: root/src/util/migrations/1633864260873-EmojiRoles.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-26 22:29:30 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-26 22:41:21 +1000
commit99ee7e9400f06e8718612d8b52d15215dc620774 (patch)
tree08de8c5d3985b9c2eaa419f5198f891ecd82d012 /src/util/migrations/1633864260873-EmojiRoles.ts
parentRemove the cdn storage location log (diff)
downloadserver-99ee7e9400f06e8718612d8b52d15215dc620774.tar.xz
Prettier
Diffstat (limited to 'src/util/migrations/1633864260873-EmojiRoles.ts')
-rw-r--r--src/util/migrations/1633864260873-EmojiRoles.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/util/migrations/1633864260873-EmojiRoles.ts b/src/util/migrations/1633864260873-EmojiRoles.ts
index f0d709f2..31ced96b 100644
--- a/src/util/migrations/1633864260873-EmojiRoles.ts
+++ b/src/util/migrations/1633864260873-EmojiRoles.ts
@@ -4,10 +4,14 @@ export class EmojiRoles1633864260873 implements MigrationInterface {
 	name = "EmojiRoles1633864260873";
 
 	public async up(queryRunner: QueryRunner): Promise<void> {
-		await queryRunner.query(`ALTER TABLE "emojis" ADD "roles" text NOT NULL DEFAULT ''`);
+		await queryRunner.query(
+			`ALTER TABLE "emojis" ADD "roles" text NOT NULL DEFAULT ''`,
+		);
 	}
 
 	public async down(queryRunner: QueryRunner): Promise<void> {
-		await queryRunner.query(`ALTER TABLE "emojis" DROP COLUMN column_name "roles"`);
+		await queryRunner.query(
+			`ALTER TABLE "emojis" DROP COLUMN column_name "roles"`,
+		);
 	}
 }