a lot of small fixes

This commit is contained in:
MathMan05
2026-03-20 16:31:32 +01:00
committed by Rory&
parent 9f73898843
commit 26208390a6
8 changed files with 39 additions and 3 deletions
@@ -0,0 +1,13 @@
import { MigrationInterface, QueryRunner } from "typeorm";
export class MemberFlags1772403866471 implements MigrationInterface {
name = "MemberFlags1772403866471";
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE "members" ADD "flags" integer NOT NULL DEFAULT '0'`);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE "members" DROP COLUMN "flags"`);
}
}