Skip to content

Commit 0e634e2

Browse files
committed
fixed one last file based config issue
1 parent b099df7 commit 0e634e2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/commands/MigrateCommand.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,8 @@ public function execute()
117117
}
118118

119119
// Update config with executed migrations
120-
$config['apm']['executed_migrations'] = $newExecutedMigrations;
121-
$json = json_encode($config, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
122-
file_put_contents($configFile, $json);
120+
$runwayConfig['apm']['executed_migrations'] = $newExecutedMigrations;
121+
$this->setRunwayConfig($runwayConfig);
123122

124123
$io->boldGreen("Migration completed successfully!", true);
125124
}

0 commit comments

Comments
 (0)