cakephp / phinx

PHP Database Migrations for Everyone
https://phinx.org
MIT License
4.45k stars 895 forks source link

Fix setting faked migrations as migrated #2252

Closed MasterOdin closed 8 months ago

MasterOdin commented 8 months ago

PR fixes #2229 and includes a test for this functionality. There is a slight change of functionality here where we will open/commit a DB transaction when running a fake migration, though I don't think that's at all a problem, and it makes the code much simpler.