summary refs log tree commit diff
path: root/src/util/migrations/mariadb/1660131942703-apps_nullable_team.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/migrations/mariadb/1660131942703-apps_nullable_team.ts')
-rw-r--r--src/util/migrations/mariadb/1660131942703-apps_nullable_team.ts18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/util/migrations/mariadb/1660131942703-apps_nullable_team.ts b/src/util/migrations/mariadb/1660131942703-apps_nullable_team.ts
deleted file mode 100644
index ac445772..00000000
--- a/src/util/migrations/mariadb/1660131942703-apps_nullable_team.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import { MigrationInterface, QueryRunner } from "typeorm";
-
-export class appsNullableTeam1660131942703 implements MigrationInterface {
-    name = 'appsNullableTeam1660131942703'
-
-    public async up(queryRunner: QueryRunner): Promise<void> {
-        await queryRunner.query(`
-            DROP INDEX \`IDX_2ce5a55796fe4c2f77ece57a64\` ON \`applications\`
-        `);
-    }
-
-    public async down(queryRunner: QueryRunner): Promise<void> {
-        await queryRunner.query(`
-            CREATE UNIQUE INDEX \`IDX_2ce5a55796fe4c2f77ece57a64\` ON \`applications\` (\`bot_user_id\`)
-        `);
-    }
-
-}