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