From 9c89a7b7c6c679ac14a881cd1dc15c2159afe046 Mon Sep 17 00:00:00 2001 From: Chris Brown Date: Mon, 23 Sep 2019 17:22:37 -0400 Subject: [PATCH 1/3] Update custom-database-names.blade.md --- docs/source/v2/custom-database-names.blade.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/v2/custom-database-names.blade.md b/docs/source/v2/custom-database-names.blade.md index 6f7718e..ae407a3 100644 --- a/docs/source/v2/custom-database-names.blade.md +++ b/docs/source/v2/custom-database-names.blade.md @@ -7,7 +7,7 @@ section: content # Custom Database Names {#custom-database-names} -To set the a database name for a tenant, use set `_tenancy_db_name` key in the tenant's storage. +To set a specific database name for a tenant, specify the `_tenancy_db_name` key in the tenant's storage. You should do this during the tenant creation process, to make sure the database is created with the right name: @@ -17,4 +17,4 @@ use Stancl\Tenancy\Tenant; Tenant::create('example.com', [ '_tenancy_db_name' => 'example_com' ]) -``` \ No newline at end of file +``` From 87bcc458dfbd25f64f9c7a3e34e5058f0a11da0d Mon Sep 17 00:00:00 2001 From: Chris Brown Date: Mon, 23 Sep 2019 18:08:49 -0400 Subject: [PATCH 2/3] Update custom-database-names.blade.md --- docs/source/v2/custom-database-names.blade.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/v2/custom-database-names.blade.md b/docs/source/v2/custom-database-names.blade.md index ae407a3..07dfe7d 100644 --- a/docs/source/v2/custom-database-names.blade.md +++ b/docs/source/v2/custom-database-names.blade.md @@ -7,7 +7,7 @@ section: content # Custom Database Names {#custom-database-names} -To set a specific database name for a tenant, specify the `_tenancy_db_name` key in the tenant's storage. +To use a specific database name for a tenant, set the `_tenancy_db_name` key in the tenant's storage. You should do this during the tenant creation process, to make sure the database is created with the right name: From a19af6239f21e8913b28abc8dd02a28c65e89c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Tue, 24 Sep 2019 16:09:41 +0200 Subject: [PATCH 3/3] Update custom-database-names.blade.md --- docs/source/v2/custom-database-names.blade.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/v2/custom-database-names.blade.md b/docs/source/v2/custom-database-names.blade.md index 07dfe7d..a215ee5 100644 --- a/docs/source/v2/custom-database-names.blade.md +++ b/docs/source/v2/custom-database-names.blade.md @@ -7,9 +7,9 @@ section: content # Custom Database Names {#custom-database-names} -To use a specific database name for a tenant, set the `_tenancy_db_name` key in the tenant's storage. +To set a specific database name for a tenant, set the `_tenancy_db_name` key in the tenant's storage. -You should do this during the tenant creation process, to make sure the database is created with the right name: +You should do this during the tenant creation process, to make sure the right database name is used during database creation. ```php use Stancl\Tenancy\Tenant;