1 year ago

RefreshDatabase migration path

Posted 1 year ago by dartika


I've my migrations at differente default location (database/migrations/tenants/) and i want to use the RefreshDatabase trait, however it uses the default migration location.

How can i specify at setUp or somewhere the "path" option for this migrations?

The only way that i found to do that is overriding "refreshInMemoryDatabase" and "refreshTestDatabase" methods but im thinking in a better way.

Please sign in or create an account to participate in this conversation.