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
Since the FixtureManager truncates all tables excluding phinxlog, the schema needs to be updatable after switching to a different git branch.
One possibility is to add the option (somewhere to be defined) to truncate the phinxlog as well, so the schema may be rebuild from scratch.
This issue is the same for the test DB as well as for the normal DB. We could search for a general solution to rollback / migrate the migrations from one branch to the other.
The text was updated successfully, but these errors were encountered:
the laravel solution is for the application's database, not the test database from what I understand. We should focus on the test database.
Just deleting all tables and running all the migrations on an empty database is enough at the beginning of the test suite IMO.
Since the FixtureManager truncates all tables excluding phinxlog, the schema needs to be updatable after switching to a different git branch.
One possibility is to add the option (somewhere to be defined) to truncate the phinxlog as well, so the schema may be rebuild from scratch.
This issue is the same for the test DB as well as for the normal DB. We could search for a general solution to rollback / migrate the migrations from one branch to the other.
The text was updated successfully, but these errors were encountered: