2022-04-02 00:28:49 -06:00
|
|
|
export class webhook21648816172177 {
|
2023-04-06 19:56:46 -06:00
|
|
|
name = "webhook21648816172177";
|
2022-04-02 00:28:49 -06:00
|
|
|
|
2023-04-06 19:56:46 -06:00
|
|
|
async up(queryRunner) {
|
|
|
|
await queryRunner.query(
|
|
|
|
`ALTER TABLE "webhook" ADD "latestSentAt" TIMESTAMP WITH TIME ZONE`,
|
|
|
|
);
|
|
|
|
await queryRunner.query(`ALTER TABLE "webhook" ADD "latestStatus" integer`);
|
|
|
|
}
|
2022-04-02 00:28:49 -06:00
|
|
|
|
2023-04-06 19:56:46 -06:00
|
|
|
async down(queryRunner) {
|
|
|
|
await queryRunner.query(`ALTER TABLE "webhook" DROP COLUMN "latestStatus"`);
|
|
|
|
await queryRunner.query(`ALTER TABLE "webhook" DROP COLUMN "latestSentAt"`);
|
|
|
|
}
|
2022-04-02 00:28:49 -06:00
|
|
|
}
|