summary refs log tree commit diff
path: root/src/util/migrations/1633864260873-EmojiRoles.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/migrations/1633864260873-EmojiRoles.ts')
-rw-r--r--src/util/migrations/1633864260873-EmojiRoles.ts17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/util/migrations/1633864260873-EmojiRoles.ts b/src/util/migrations/1633864260873-EmojiRoles.ts
deleted file mode 100644
index 31ced96b..00000000
--- a/src/util/migrations/1633864260873-EmojiRoles.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import { MigrationInterface, QueryRunner } from "typeorm";
-
-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 ''`,
-		);
-	}
-
-	public async down(queryRunner: QueryRunner): Promise<void> {
-		await queryRunner.query(
-			`ALTER TABLE "emojis" DROP COLUMN column_name "roles"`,
-		);
-	}
-}