3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-19 08:05:01 +00:00

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 dcf8e53cd4
commit e6dbb3e5cd
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");
}
}