From 0520e08950cff1f9356c8f9c03a0801e92ab7d74 Mon Sep 17 00:00:00 2001 From: Chris Brown Date: Mon, 23 Sep 2019 15:59:18 -0400 Subject: [PATCH] Update getting-started.blade.md --- docs/source/v2/getting-started.blade.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/v2/getting-started.blade.md b/docs/source/v2/getting-started.blade.md index 2600f1c..d3d49c9 100644 --- a/docs/source/v2/getting-started.blade.md +++ b/docs/source/v2/getting-started.blade.md @@ -29,5 +29,6 @@ Multi-tenancy is the ability to provide your application to multiple customers ( Multi-tenancy can be single-database and multi-database. **Single-database tenancy** means that your application uses only a single database. The way this is usually implemented is that instead of having the `id`, `title`, `user_id` and `body` columns in your `posts` table, you will also have a `tenant_id` column. This approach works until you need custom databases for your clients. It's also easy to implement, it basically boils down to having your models use a trait which adds a [global scope](https://laravel.com/docs/master/eloquent#global-scopes). +Again, to be clear: This package does not provide single-database tenancy features. -**Multi-database tenancy**, the type that this package provides, lets you use a separate database for each tenant. The benefits of this approach are scalability, compliance (some clients need to have the database on their server) and mitigation of risks such as showing the wrong tenant's data to a user. The downside is that this model is harder to implement, which is why this package exists. \ No newline at end of file +**Multi-database tenancy**, the type that this package provides, lets you use a separate database for each tenant. The benefits of this approach are scalability, compliance (some clients need to have the database on their server) and mitigation of risks such as showing the wrong tenant's data to a user. The downside is that this model is harder to implement, which is why this package exists.