Sharing permissions tables

This commit is contained in:
Marcos Zuriaga 2016-09-24 15:56:04 +02:00
parent a8edcc67d5
commit 06ecc2ff80

View file

@ -364,4 +364,110 @@
</index>
</declaration>
</table>
<table>
<name>*dbprefix*passman_sharing_acl</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>item_id</name>
<type>integer</type>
<notnull>true</notnull>
<length>8</length>
</field>
<field>
<name>item_guid</name>
<type>text</type>
<notnull>true</notnull>
<length>64</length>
</field>
<field>
<name>user_id</name>
<type>text</type>
<notnull>false</notnull>
<length>64</length>
</field>
<field>
<name>group_id</name>
<type>text</type>
<notnull>false</notnull>
<length>64</length>
</field>
<field>
<name>created</name>
<type>integer</type>
<length>8</length>
<default>0</default>
<notnull>false</notnull>
<unsigned>true</unsigned>
</field>
<field>
<name>expire</name>
<type>integer</type>
<length>8</length>
<default>0</default>
<notnull>false</notnull>
<unsigned>true</unsigned>
</field>
<field>
<name>permissions</name>
<type>integer</type>
<length>2</length>
<default>0</default>
<notnull>true</notnull>
<unsigned>true</unsigned>
</field>
</declaration>
</table>
<table>
<name>*dbprefix*passman_share_request</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>item_id</name>
<type>integer</type>
<notnull>true</notnull>
<length>8</length>
</field>
<field>
<name>item_guid</name>
<type>text</type>
<notnull>true</notnull>
<length>64</length>
</field>
<field>
<name>vault_id</name>
<type>integer</type>
<notnull>true</notnull>
<unsigned>true</unsigned>
<length>8</length>
</field>
<field>
<name>vault_guid</name>
<type>text</type>
<notnull>true</notnull>
<length>64</length>
</field>
<field>
<name>shared_key</name>
<type>clob</type>
<notnull>true</notnull>
</field>
</declaration>
</table>
</database>