mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 19:14:03 +00:00
tenancy=false => central=true; move config to env setup
This commit is contained in:
parent
2def3b20dd
commit
51ed344181
4 changed files with 9 additions and 8 deletions
|
|
@ -99,6 +99,10 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
|
|||
'tenancy.migrations_directory' => database_path('../migrations'),
|
||||
'tenancy.storage_drivers.db.connection' => 'central',
|
||||
'tenancy.bootstrappers.redis' => \Stancl\Tenancy\TenancyBootstrappers\RedisTenancyBootstrapper::class,
|
||||
'queue.connections.central' => [
|
||||
'driver' => 'sync',
|
||||
'central' => true,
|
||||
],
|
||||
]);
|
||||
|
||||
$app->singleton(\Stancl\Tenancy\TenancyBootstrappers\RedisTenancyBootstrapper::class);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue