mirror of
https://github.com/nextcloud/passman.git
synced 2025-02-21 22:14:19 +08:00
Add field for sharing keys generated time
This commit is contained in:
parent
9aefb98584
commit
41837d2c7d
3 changed files with 9 additions and 2 deletions
|
@ -63,6 +63,11 @@
|
|||
<type>clob</type>
|
||||
<notnull>false</notnull>
|
||||
</field>
|
||||
<field>
|
||||
<name>sharing_keys_generated</name>
|
||||
<type>integer</type>
|
||||
<length>8</length>
|
||||
</field>
|
||||
<index>
|
||||
<name>passman_vault_last_access_index</name>
|
||||
<field>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<description>A password manager for Nextcloud</description>
|
||||
<licence>AGPL</licence>
|
||||
<author>Sander Brand</author>
|
||||
<version>1.0.2.7</version>
|
||||
<version>1.0.2.8</version>
|
||||
<namespace>Passman</namespace>
|
||||
<category>other</category>
|
||||
<website>https://github.com/nextcloud/passman/</website>
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue