You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During migration the table prefix was changed using $db->setTablePrefix(), after the migration was completed the prefix_migration history table was not exist.
Actually this is a configuration problem (set migration table without prefix) or a code problem ($db->setTablePrefix()).
But after fixing it I cannot re-run the migration and need to add a record to migration table manually.
There are cases when the migration was successful, but writing the history record was failed.
After this, the migration can be rolled back or corrected manually only, since there is no the history record.
Possible solution for a transactional migration run the migration and add the history record in the one transaction.
db-migration/src/Migrator.php
Line 37 in c4daa61
db-migration/src/Migrator.php
Line 41 in c4daa61
The text was updated successfully, but these errors were encountered: