atk4 tries to find the class Controller_Migrator_MySQL under /app/lib/Controller/Migrator/MySQL.php, then under /app/vendor/atk4/atk4/lib/Controller/Migrator/MySQL.php and finally, under /app/shared/lib/Controller/Migrator/MySQL.php.
Since the second location exists, it's loading the default class with the default migrate() method that doesn't create the _db_update table.
Moving the whole lib folder in the root solves the issue.
I'm not familiar with your styleguide, but you get the idea, let me know if you prefer to solve the issue differently.
The other possibility could be to rename the class Controller_Migrator_MySQL into Controller_Migrator_MySQL-dam (and the file into MySQL-dam.php).
atk4 tries to find the class
Controller_Migrator_MySQL
under/app/lib/Controller/Migrator/MySQL.php
, then under/app/vendor/atk4/atk4/lib/Controller/Migrator/MySQL.php
and finally, under/app/shared/lib/Controller/Migrator/MySQL.php
. Since the second location exists, it's loading the default class with the default migrate() method that doesn't create the_db_update
table. Moving the wholelib
folder in the root solves the issue. I'm not familiar with your styleguide, but you get the idea, let me know if you prefer to solve the issue differently. The other possibility could be to rename the classController_Migrator_MySQL
intoController_Migrator_MySQL-dam
(and the file into MySQL-dam.php).Fix #21