We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b099df7 commit 0e634e2Copy full SHA for 0e634e2
src/commands/MigrateCommand.php
@@ -117,9 +117,8 @@ public function execute()
117
}
118
119
// 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);
+ $runwayConfig['apm']['executed_migrations'] = $newExecutedMigrations;
+ $this->setRunwayConfig($runwayConfig);
123
124
$io->boldGreen("Migration completed successfully!", true);
125
0 commit comments