diff --git a/appinfo/database.xml b/appinfo/database.xml index 91a97d00..97a74e4d 100644 --- a/appinfo/database.xml +++ b/appinfo/database.xml @@ -63,6 +63,11 @@ clob false + + sharing_keys_generated + integer + 8 + passman_vault_last_access_index diff --git a/appinfo/info.xml b/appinfo/info.xml index 13a88b3b..3cfb6925 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -5,7 +5,7 @@ A password manager for Nextcloud AGPL Sander Brand - 1.0.2.7 + 1.0.2.8 Passman other https://github.com/nextcloud/passman/ diff --git a/lib/Db/Vault.php b/lib/Db/Vault.php index d187c06d..39bcf28c 100644 --- a/lib/Db/Vault.php +++ b/lib/Db/Vault.php @@ -29,7 +29,8 @@ use \OCP\AppFramework\Db\Entity; * @method string getPublicSharingKey() * @method void setPrivateSharingKey(string $value) * @method string getPrivateSharingKey() - + * @method void setSharingKeysGenerated(integer $value) + * @method integer getSharingKeysGenerated() */ @@ -44,6 +45,7 @@ class Vault extends Entity implements \JsonSerializable{ protected $lastAccess; protected $publicSharingKey; protected $privateSharingKey; + protected $sharingKeysGenerated; public function __construct() { // add types in constructor $this->addType('created', 'integer');