mirror of
https://github.com/spacebarchat/server.git
synced 2026-09-17 03:45:11 +00:00
a lot of small fixes
This commit is contained in:
@@ -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"`);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user