mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-27 09:53:09 +02:00
12 lines
383 B
JavaScript
12 lines
383 B
JavaScript
|
export class removeLatestRequestSentAt1672703171386 {
|
||
|
name = 'removeLatestRequestSentAt1672703171386'
|
||
|
|
||
|
async up(queryRunner) {
|
||
|
await queryRunner.query(`ALTER TABLE "instance" DROP COLUMN "latestRequestSentAt"`);
|
||
|
}
|
||
|
|
||
|
async down(queryRunner) {
|
||
|
await queryRunner.query(`ALTER TABLE "instance" ADD "latestRequestSentAt" TIMESTAMP WITH TIME ZONE`);
|
||
|
}
|
||
|
}
|