マイグレーションファイルの変更ミス (#10029)

This commit is contained in:
nenohi 2023-02-23 07:52:01 +09:00 committed by GitHub
parent f7c6ea93d7
commit 5dd24e44d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4,6 +4,6 @@ export class ad1676438468213 {
await queryRunner.query(`ALTER TABLE "ad" ADD "startsAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now()`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "role" DROP COLUMN "startsAt"`);
await queryRunner.query(`ALTER TABLE "ad" DROP COLUMN "startsAt"`);
}
}