fix stall in EnableInstanceHOTUpdates1750217001651 migration
This commit is contained in:
parent
7934643090
commit
8e75d6149e
1 changed files with 0 additions and 3 deletions
|
|
@ -18,9 +18,6 @@ export class EnableInstanceHOTUpdates1750217001651 {
|
||||||
|
|
||||||
async up(queryRunner) {
|
async up(queryRunner) {
|
||||||
await queryRunner.query(`ALTER TABLE "instance" SET (fillfactor = 50)`);
|
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) {
|
async down(queryRunner) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue