1
0
Fork 0
mirror of synced 2024-10-01 01:37:56 +13:00

Merge pull request #5966 from appwrite/feat-user-identity-secrets

Add a secrets attribute to the identities collection
This commit is contained in:
Christy Jacob 2023-08-09 19:48:56 +04:00 committed by GitHub
commit bef46958a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -782,6 +782,18 @@ $commonCollections = [
'array' => false,
'filters' => ['encrypt'],
],
[
// Used to store data from provider that may or may not be sensitive
'$id' => ID::custom('secrets'),
'type' => Database::VAR_STRING,
'format' => '',
'size' => 16384,
'signed' => true,
'required' => false,
'default' => [],
'array' => false,
'filters' => ['json', 'encrypt'],
],
],
'indexes' => [
[