Add revision table, bump version

This commit is contained in:
brantje 2016-09-24 10:58:04 +02:00
parent da938ffedf
commit e3e56bd6e4
2 changed files with 56 additions and 1 deletions

View file

@ -302,4 +302,59 @@
</index>
</declaration>
</table>
<table>
<name>*dbprefix*passman_revisions</name>
<declaration>
<field>
<name>id</name>
<type>integer</type>
<notnull>true</notnull>
<autoincrement>true</autoincrement>
<unsigned>true</unsigned>
<primary>true</primary>
<length>8</length>
</field>
<field>
<name>guid</name>
<type>text</type>
<notnull>true</notnull>
<length>64</length>
</field>
<field>
<name>credential_id</name>
<type>integer</type>
<notnull>true</notnull>
<length>8</length>
</field>
<field>
<name>user_id</name>
<type>text</type>
<notnull>true</notnull>
<length>64</length>
</field>
<field>
<name>credential_data</name>
<type>clob</type>
<notnull>false</notnull>
</field>
<index>
<name>passman_revision_id_index</name>
<field>
<name>id</name>
</field>
</index>
<index>
<name>passman_revision_user_id_index</name>
<field>
<name>user_id</name>
</field>
</index>
<index>
<name>passman_revision_credential_id_index</name>
<field>
<name>credential_id</name>
</field>
</index>
</declaration>
</table>
</database>

View file

@ -5,7 +5,7 @@
<description>A password manager for Nextcloud</description>
<licence>AGPL</licence>
<author>Sander Brand</author>
<version>1.0.2.4</version>
<version>1.0.2.5</version>
<namespace>Passman</namespace>
<category>other</category>
<website>https://github.com/nextcloud/passman/</website>