From 855ba91508a2d333c14c0e4351bd762facbdbc8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Samuel=20=C5=A0tancl?=
-
+
@@ -19,11 +19,9 @@ You won't have to change a thing in your application's code.
- :heavy_check_mark: No replacing of Laravel classes (`Cache`, `Storage`, ...) with tenancy-aware classes
- :heavy_check_mark: Built-in tenant identification based on hostname (including second level domains)
-### [Documentation](https://tenancyforlaravel.com/docs/v3/)
+### [Documentation](https://tenancy-v4.pages.dev/)
-Documentation can be found here: https://tenancyforlaravel.com/docs/v3/
-
-The repository with the documentation source code can be found here: [stancl/tenancy-docs](https://github.com/stancl/tenancy-docs).
+Documentation can be found here: https://tenancy-v4.pages.dev/
### [Need help?](https://github.com/stancl/tenancy/blob/3.x/SUPPORT.md)
diff --git a/assets/TenancyServiceProvider.stub.php b/assets/TenancyServiceProvider.stub.php
index 87198a06..3d53529e 100644
--- a/assets/TenancyServiceProvider.stub.php
+++ b/assets/TenancyServiceProvider.stub.php
@@ -195,10 +195,11 @@ class TenancyServiceProvider extends ServiceProvider
* return RouteFacade::post('/livewire/update', $handle)->middleware(['web', 'universal']);
* });
*/
- if (InitializeTenancyByRequestData::inGlobalStack()) {
- FortifyRouteBootstrapper::$fortifyHome = 'dashboard';
- TenancyUrlGenerator::$prefixRouteNames = false;
- }
+
+ // if (InitializeTenancyByRequestData::inGlobalStack()) {
+ // FortifyRouteBootstrapper::$fortifyHome = 'dashboard';
+ // TenancyUrlGenerator::$prefixRouteNames = false;
+ // }
if (tenancy()->globalStackHasMiddleware(config('tenancy.identification.path_identification_middleware'))) {
TenancyUrlGenerator::$prefixRouteNames = true;
diff --git a/assets/config.php b/assets/config.php
index 0291905b..c97bdd67 100644
--- a/assets/config.php
+++ b/assets/config.php
@@ -204,6 +204,7 @@ return [
* You can customize the grants given to these users by changing the $grants property.
*/
// 'mysql' => Stancl\Tenancy\Database\TenantDatabaseManagers\PermissionControlledMySQLDatabaseManager::class,
+ // 'pgsql' => Stancl\Tenancy\Database\TenantDatabaseManagers\PermissionControlledPostgreSQLDatabaseManager::class,
// 'sqlsrv' => Stancl\Tenancy\TenantDatabaseManagers\PermissionControlledMicrosoftSQLServerDatabaseManager::class,
/**
@@ -211,6 +212,7 @@ return [
* want to separate tenant DBs by schemas rather than databases.
*/
// 'pgsql' => Stancl\Tenancy\Database\TenantDatabaseManagers\PostgreSQLSchemaManager::class, // Separate by schema instead of database
+ // 'pgsql' => Stancl\Tenancy\Database\TenantDatabaseManagers\PermissionControlledPostgreSQLSchemaManager::class, // Also permission controlled
],
// todo@docblock
diff --git a/composer.json b/composer.json
index 37f0b918..354ad8a5 100644
--- a/composer.json
+++ b/composer.json
@@ -16,7 +16,7 @@
}
],
"require": {
- "php": "^8.2",
+ "php": "^8.4",
"ext-json": "*",
"illuminate/support": "^10.1|^11.3",
"laravel/tinker": "^2.0",