mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 14:44:05 +00:00
resolve more todos
This commit is contained in:
parent
a213ab0ee3
commit
c8eb4a0de5
2 changed files with 10 additions and 9 deletions
|
|
@ -213,7 +213,14 @@ return [
|
|||
// 'pgsql' => Stancl\Tenancy\Database\TenantDatabaseManagers\PermissionControlledPostgreSQLSchemaManager::class, // Also permission controlled
|
||||
],
|
||||
|
||||
// todo0
|
||||
/*
|
||||
* Drop tenant databases when `php artisan migrate:fresh` is used.
|
||||
* You may want to use this locally since deleting tenants only
|
||||
* deletes their databases when they're deleted individually, not
|
||||
* when the records are mass deleted from the database.
|
||||
*
|
||||
* Note: This overrides the default MigrateFresh command.
|
||||
*/
|
||||
'drop_tenant_databases_on_migrate_fresh' => false,
|
||||
],
|
||||
|
||||
|
|
@ -402,7 +409,6 @@ return [
|
|||
|
||||
/**
|
||||
* Make all routes central, tenant, or universal by default.
|
||||
* todo@earlyIdReview todo0
|
||||
*
|
||||
* To override the default route mode, apply the middleware of another route mode ('central', 'tenant', 'universal') to the route.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -36,13 +36,8 @@ class RootUrlBootstrapper implements TenancyBootstrapper
|
|||
protected string|null $originalRootUrl = null;
|
||||
|
||||
/**
|
||||
* You may want to selectively enable or disable this bootstrapper in specific tests.
|
||||
* For instance, when using `Livewire::test()` this bootstrapper can cause problems,
|
||||
* due to an internal Livewire route, so you may want to disable it, while in tests
|
||||
* that are generating URLs in things like mails, the bootstrapper should be used
|
||||
* just like in any queued job.
|
||||
*
|
||||
* todo0 update docblock
|
||||
* Overriding the root url may cause issues in *some* tests, so you can disable
|
||||
* the behavior by setting this property to false.
|
||||
*/
|
||||
public static bool $rootUrlOverrideInTests = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue