Made Alerts infinite until timed out, added -active and changed cmd sigm

This commit is contained in:
Dark 2020-02-02 17:01:03 +01:00 committed by Miikka
parent 2c63509084
commit 5afe3ce3fe
4 changed files with 159 additions and 27 deletions

View file

@ -0,0 +1,18 @@
import { MigrationInterface, QueryRunner, TableColumn } from "typeorm";
export class AddActiveFollowsToLocateUser1580654617890 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<any> {
await queryRunner.addColumn(
"vc_alerts",
new TableColumn({
name: "active",
type: "boolean",
isNullable: false,
}),
);
}
public async down(queryRunner: QueryRunner): Promise<any> {
await queryRunner.dropColumn("vc_alerts", "active");
}
}