From 07df99c817e20d60692a235c0a3fc2735dc618dd Mon Sep 17 00:00:00 2001 From: Bishwajeet Parhi Date: Tue, 11 Jul 2023 19:16:22 +0530 Subject: [PATCH] update description --- app/controllers/api/databases.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/databases.php b/app/controllers/api/databases.php index 4896c56ccc..16718b788c 100644 --- a/app/controllers/api/databases.php +++ b/app/controllers/api/databases.php @@ -1106,7 +1106,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/attributes/string ->param('required', null, new Boolean(), 'Is attribute required?') ->param('default', null, new Text(0, 0), 'Default value for attribute when not provided. Cannot be set when attribute is required.', true) ->param('array', false, new Boolean(), 'Is attribute an array?', true) - ->param('encrypt', false, new Boolean(), 'Encrypt attribute? Encrypting an attribute means that the attribute can not be queried.', true) + ->param('encrypt', false, new Boolean(), 'Toggle encryption for the attribute. Encryption enhances security by not storing any plain text values in the database. However, encrypted attributes cannot be queried.', true) ->inject('response') ->inject('dbForProject') ->inject('database')