2022-04-02 06:28:49 +00:00
|
|
|
export class webhook21648816172177 {
|
2023-04-07 01:56:46 +00:00
|
|
|
name = "webhook21648816172177";
|
2022-04-02 06:28:49 +00:00
|
|
|
|
2023-04-07 01:56:46 +00: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 06:28:49 +00:00
|
|
|
|
2023-04-07 01:56:46 +00: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 06:28:49 +00:00
|
|
|
}
|