fix stall in EnableInstanceHOTUpdates1750217001651 migration

This commit is contained in:
Hazelnoot 2025-06-19 13:16:19 -04:00
parent 7934643090
commit 8e75d6149e

View file

@ -18,9 +18,6 @@ export class EnableInstanceHOTUpdates1750217001651 {
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "instance" SET (fillfactor = 50)`);
// Vacuum can't run inside a transaction block, so query directly from the connection.
await queryRunner.connection.query(`VACUUM (FULL, VERBOSE) "instance"`);
}
async down(queryRunner) {