Made Alerts infinite until timed out, added -active and changed cmd sigm
This commit is contained in:
parent
2c63509084
commit
5afe3ce3fe
4 changed files with 159 additions and 27 deletions
|
@ -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");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue