Is your feature request related to a problem? Please describe.
I got few migrations each referring a different connection. migrate:fresh, migrate:refresh doesn't handle this scenario since they operate on the default connection or in the specific connection passed via --database param.
Describe the solution you'd like
The simplest solution can be to process only migrations that has the $connection property set to the default connection or in the specific connection passed via --database param.
A better solution could be iterate the distinct connections defined in the migrations and process them according.
The text was updated successfully, but these errors were encountered:
goddanao
changed the title
[FEATURE] Database Migrations - Handling multiple connection defined via property $connection
[FEATURE] Database Migrations - Handling multiple migrations with different connections
Apr 16, 2020
Is your feature request related to a problem? Please describe.
I got few migrations each referring a different connection. migrate:fresh, migrate:refresh doesn't handle this scenario since they operate on the default connection or in the specific connection passed via --database param.
Describe the solution you'd like
The simplest solution can be to process only migrations that has the $connection property set to the default connection or in the specific connection passed via --database param.
A better solution could be iterate the distinct connections defined in the migrations and process them according.
The text was updated successfully, but these errors were encountered: