clarify what's meant by tenant storage

This commit is contained in:
Samuel Štancl 2023-08-04 06:16:23 +02:00 committed by GitHub
parent d3906a1aa9
commit 44bbb51fb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,9 +21,9 @@ Uncomment the following line in your `tenancy.features` config:
// Stancl\Tenancy\Features\TenantConfig::class,
```
## **Configuring the mappings** {#configuring-the-mappings}
## **Configuring the mapping** {#configuring-the-mapping}
This feature maps keys in the tenant storage to config keys based on the `$storageToConfigMap` [static property]({{ $page->link('configuration#static-properties') }}).
This feature maps keys in the tenant storage (properties on the `Tenant` model, these may be [custom columns]({{ $page->link('tenants#custom-columns') }}) or virtual columns within `data`) to config keys based on the `$storageToConfigMap` [static property]({{ $page->link('configuration#static-properties') }}).
For example, if your `$storageToConfigMap` looked like this: