mirror of
https://github.com/nextcloud/passman.git
synced 2024-11-10 17:27:40 +08:00
Added sharing keys to vault table
This commit is contained in:
parent
da0412406f
commit
9aefb98584
3 changed files with 18 additions and 3 deletions
|
@ -53,7 +53,16 @@
|
|||
<notnull>false</notnull>
|
||||
<unsigned>true</unsigned>
|
||||
</field>
|
||||
|
||||
<field>
|
||||
<name>public_sharing_key</name>
|
||||
<type>clob</type>
|
||||
<notnull>false</notnull>
|
||||
</field>
|
||||
<field>
|
||||
<name>private_sharing_key</name>
|
||||
<type>clob</type>
|
||||
<notnull>false</notnull>
|
||||
</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.6</version>
|
||||
<version>1.0.2.7</version>
|
||||
<namespace>Passman</namespace>
|
||||
<category>other</category>
|
||||
<website>https://github.com/nextcloud/passman/</website>
|
||||
|
|
|
@ -25,6 +25,11 @@ use \OCP\AppFramework\Db\Entity;
|
|||
* @method integer getCreated()
|
||||
* @method void setLastAccess(integer $value)
|
||||
* @method integer getLastAccess()
|
||||
* @method void setPublicSharingKey(string $value)
|
||||
* @method string getPublicSharingKey()
|
||||
* @method void setPrivateSharingKey(string $value)
|
||||
* @method string getPrivateSharingKey()
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
@ -37,7 +42,8 @@ class Vault extends Entity implements \JsonSerializable{
|
|||
protected $userId;
|
||||
protected $created;
|
||||
protected $lastAccess;
|
||||
|
||||
protected $publicSharingKey;
|
||||
protected $privateSharingKey;
|
||||
public function __construct() {
|
||||
// add types in constructor
|
||||
$this->addType('created', 'integer');
|
||||
|
|
Loading…
Reference in a new issue