Skip to content

Commit 93d8ea2

Browse files
SimonSimon
authored andcommitted
Update documentation tenancy#49
1 parent 02b10a0 commit 93d8ea2

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

docs/hyn/5.2/identification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function boot()
3939
> Be wary about switching tenants. I recommend switching only once during code
4040
execution. Use a background job to run mass changes on tenant databases.
4141

42-
#### Retrieve current tenant
42+
# Retrieve current tenant
4343

4444
In case you like to work with the current environment, you can do the following:
4545

docs/hyn/5.2/installation.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ Under connections:
4949
```
5050

5151
Most often it makes sense to use either `system` or `tenant` as your default database connection setting; this is `DB_CONNECTION` in your `.env` file. This environment variable is assigned to the `default` key in the `config/database.php` configuration file.
52-
When setting the default database to system or tenant you do not need to use Laravel default `mysql` anymore. You can use for `mysql` and `system` the same settings, but it doesn't have to be.
5352

5453
In case you use the `tenant` make sure to enable [early identification](identification) and configure
5554
a decent [fallback](fallback) later on.

docs/hyn/5.2/repositories.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ app(WebsiteRepository::class)->create($website);
6060

6161
> Make sure the provided connection name is configured in your `config/database.php`.
6262
63+
6364
# Create and connect hostname
6465

6566
```php

0 commit comments

Comments
 (0)