Add missing migration

This commit is contained in:
Rory&
2025-12-13 02:04:24 +01:00
parent dae89fd0af
commit 3f5e25dd3f
@@ -0,0 +1,14 @@
import { MigrationInterface, QueryRunner } from "typeorm";
export class InstanceBanAllowlist1765587835846 implements MigrationInterface {
name = 'InstanceBanAllowlist1765587835846'
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE "instance_bans" ADD "is_allowlisted" boolean NOT NULL DEFAULT false`);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE "instance_bans" DROP COLUMN "is_allowlisted"`);
}
}