mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 09:34:04 +00:00
make MigrateFreshOverride compatible with Laravel 11.2
This commit is contained in:
parent
1d80604cff
commit
711352db38
2 changed files with 3 additions and 3 deletions
|
|
@ -26,7 +26,7 @@
|
|||
"spatie/invade": "^1.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"laravel/framework": "^10.1|^11.0",
|
||||
"laravel/framework": "^10.1|^11.2",
|
||||
"orchestra/testbench": "^8.0|^9.0",
|
||||
"league/flysystem-aws-s3-v3": "^3.12.2",
|
||||
"doctrine/dbal": "^3.6.0",
|
||||
|
|
|
|||
|
|
@ -95,8 +95,8 @@ class TenancyServiceProvider extends ServiceProvider
|
|||
Commands\CreatePendingTenants::class,
|
||||
]);
|
||||
|
||||
$this->app->extend(FreshCommand::class, function () {
|
||||
return new Commands\MigrateFreshOverride;
|
||||
$this->app->extend(FreshCommand::class, function ($_, $app) {
|
||||
return new Commands\MigrateFreshOverride($app['migrator']);
|
||||
});
|
||||
|
||||
$this->publishes([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue