From 9c2c89fa5f0a404920e3824aeade6e9d36fb2d1b Mon Sep 17 00:00:00 2001 From: lukinovec Date: Wed, 20 Jul 2022 08:19:40 +0200 Subject: [PATCH] Update first attribute encryption paragraph --- source/docs/v3/tenant-attribute-encryption.blade.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/docs/v3/tenant-attribute-encryption.blade.md b/source/docs/v3/tenant-attribute-encryption.blade.md index 72ea46c..c8ab3fa 100644 --- a/source/docs/v3/tenant-attribute-encryption.blade.md +++ b/source/docs/v3/tenant-attribute-encryption.blade.md @@ -6,7 +6,7 @@ section: content # Tenant attribute encryption {#encrypt} -To encrypt the tenant attributes, store them in [custom columns](https://tenancyforlaravel.com/docs/v3/tenants/#custom-columns), and on the Tenant model, cast the attributes you want to encrypt to `'encrypted'`, or use your custom encryption cast. +To encrypt attributes on the Tenant model, store them in [custom columns](https://tenancyforlaravel.com/docs/v3/tenants/#custom-columns) and cast the attributes to `'encrypted'`, or your custom encryption cast. For example, we'll encrypt the tenant's database credentials – `tenancy_db_username` and `tenancy_db_password`. We need to create custom columns for these attributes, because they are, by default, stored using [virtual column](https://github.com/archtechx/virtualcolumn).