Changes proposed in this pull request:
The current migrations assume Flarum is already installed and resolve dependencies that are only available then. This makes it impossible to directly install an instance with the extension. This PR makes sure the database connection provided is the one used to make the needed changes without resolving anything else.
Confirmed
[ ] Frontend changes: tested on a local Flarum installation.
[ ] Backend changes: tests are green (run composer test).
Relates to https://github.com/flarum/framework/pull/3655
Changes proposed in this pull request: The current migrations assume Flarum is already installed and resolve dependencies that are only available then. This makes it impossible to directly install an instance with the extension. This PR makes sure the database connection provided is the one used to make the needed changes without resolving anything else.
Confirmed
composer test
).Required changes: