mirror of
https://github.com/nextcloud/passman.git
synced 2024-09-20 14:56:21 +08:00
Update database.xml to validate against xsd
This commit is contained in:
parent
3a4657f9b2
commit
224a828251
|
@ -11,25 +11,25 @@
|
||||||
<field>
|
<field>
|
||||||
<name>id</name>
|
<name>id</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
|
<length>8</length>
|
||||||
|
<unsigned>true</unsigned>
|
||||||
<notnull>true</notnull>
|
<notnull>true</notnull>
|
||||||
<autoincrement>true</autoincrement>
|
<autoincrement>true</autoincrement>
|
||||||
<unsigned>true</unsigned>
|
|
||||||
<primary>true</primary>
|
<primary>true</primary>
|
||||||
<length>8</length>
|
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>guid</name>
|
<name>guid</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<default>0</default>
|
|
||||||
<notnull>true</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>true</notnull>
|
||||||
|
<default>0</default>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>user_id</name>
|
<name>user_id</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<default>0</default>
|
|
||||||
<notnull>true</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>true</notnull>
|
||||||
|
<default>0</default>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
|
@ -46,17 +46,17 @@
|
||||||
<name>created</name>
|
<name>created</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<length>8</length>
|
<length>8</length>
|
||||||
<default>0</default>
|
|
||||||
<notnull>false</notnull>
|
|
||||||
<unsigned>true</unsigned>
|
<unsigned>true</unsigned>
|
||||||
|
<notnull>false</notnull>
|
||||||
|
<default>0</default>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>last_access</name>
|
<name>last_access</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<default>0</default>
|
|
||||||
<length>8</length>
|
<length>8</length>
|
||||||
<notnull>false</notnull>
|
|
||||||
<unsigned>true</unsigned>
|
<unsigned>true</unsigned>
|
||||||
|
<notnull>false</notnull>
|
||||||
|
<default>0</default>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>public_sharing_key</name>
|
<name>public_sharing_key</name>
|
||||||
|
@ -108,30 +108,30 @@
|
||||||
<field>
|
<field>
|
||||||
<name>id</name>
|
<name>id</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
|
<length>8</length>
|
||||||
|
<unsigned>true</unsigned>
|
||||||
<notnull>true</notnull>
|
<notnull>true</notnull>
|
||||||
<autoincrement>true</autoincrement>
|
<autoincrement>true</autoincrement>
|
||||||
<unsigned>true</unsigned>
|
|
||||||
<primary>true</primary>
|
<primary>true</primary>
|
||||||
<length>8</length>
|
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>guid</name>
|
<name>guid</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>false</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>false</notnull>
|
||||||
</field>
|
</field>
|
||||||
|
|
||||||
<field>
|
<field>
|
||||||
<name>user_id</name>
|
<name>user_id</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>false</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>false</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>vault_id</name>
|
<name>vault_id</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<notnull>true</notnull>
|
|
||||||
<length>8</length>
|
<length>8</length>
|
||||||
|
<notnull>true</notnull>
|
||||||
</field>
|
</field>
|
||||||
|
|
||||||
<field>
|
<field>
|
||||||
|
@ -149,17 +149,17 @@
|
||||||
<name>created</name>
|
<name>created</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<length>8</length>
|
<length>8</length>
|
||||||
<default>0</default>
|
|
||||||
<notnull>false</notnull>
|
|
||||||
<unsigned>true</unsigned>
|
<unsigned>true</unsigned>
|
||||||
|
<notnull>false</notnull>
|
||||||
|
<default>0</default>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>changed</name>
|
<name>changed</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<default>0</default>
|
|
||||||
<length>8</length>
|
<length>8</length>
|
||||||
<notnull>false</notnull>
|
|
||||||
<unsigned>true</unsigned>
|
<unsigned>true</unsigned>
|
||||||
|
<notnull>false</notnull>
|
||||||
|
<default>0</default>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>tags</name>
|
<name>tags</name>
|
||||||
|
@ -194,24 +194,24 @@
|
||||||
<field>
|
<field>
|
||||||
<name>renew_interval</name>
|
<name>renew_interval</name>
|
||||||
<type>bigint</type>
|
<type>bigint</type>
|
||||||
<default>0</default>
|
|
||||||
<notnull>false</notnull>
|
|
||||||
<unsigned>true</unsigned>
|
<unsigned>true</unsigned>
|
||||||
|
<notnull>false</notnull>
|
||||||
|
<default>0</default>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>expire_time</name>
|
<name>expire_time</name>
|
||||||
<type>bigint</type>
|
<type>bigint</type>
|
||||||
<default>0</default>
|
|
||||||
<notnull>false</notnull>
|
|
||||||
<unsigned>true</unsigned>
|
<unsigned>true</unsigned>
|
||||||
|
<notnull>false</notnull>
|
||||||
|
<default>0</default>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>delete_time</name>
|
<name>delete_time</name>
|
||||||
<type>bigint</type>
|
<type>bigint</type>
|
||||||
<default>0</default>
|
|
||||||
<length>8</length>
|
<length>8</length>
|
||||||
<notnull>false</notnull>
|
|
||||||
<unsigned>true</unsigned>
|
<unsigned>true</unsigned>
|
||||||
|
<notnull>false</notnull>
|
||||||
|
<default>0</default>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>files</name>
|
<name>files</name>
|
||||||
|
@ -264,24 +264,24 @@
|
||||||
<field>
|
<field>
|
||||||
<name>id</name>
|
<name>id</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
|
<length>8</length>
|
||||||
|
<unsigned>true</unsigned>
|
||||||
<notnull>true</notnull>
|
<notnull>true</notnull>
|
||||||
<autoincrement>true</autoincrement>
|
<autoincrement>true</autoincrement>
|
||||||
<unsigned>true</unsigned>
|
|
||||||
<primary>true</primary>
|
<primary>true</primary>
|
||||||
<length>8</length>
|
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>guid</name>
|
<name>guid</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>false</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>false</notnull>
|
||||||
</field>
|
</field>
|
||||||
|
|
||||||
<field>
|
<field>
|
||||||
<name>user_id</name>
|
<name>user_id</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>false</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>false</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>mimetype</name>
|
<name>mimetype</name>
|
||||||
|
@ -330,37 +330,37 @@
|
||||||
<field>
|
<field>
|
||||||
<name>id</name>
|
<name>id</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
|
<length>8</length>
|
||||||
|
<unsigned>true</unsigned>
|
||||||
<notnull>true</notnull>
|
<notnull>true</notnull>
|
||||||
<autoincrement>true</autoincrement>
|
<autoincrement>true</autoincrement>
|
||||||
<unsigned>true</unsigned>
|
|
||||||
<primary>true</primary>
|
<primary>true</primary>
|
||||||
<length>8</length>
|
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>guid</name>
|
<name>guid</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>true</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>true</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>credential_id</name>
|
<name>credential_id</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<notnull>true</notnull>
|
|
||||||
<length>8</length>
|
<length>8</length>
|
||||||
|
<notnull>true</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>user_id</name>
|
<name>user_id</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>true</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>true</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>created</name>
|
<name>created</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<length>8</length>
|
<length>8</length>
|
||||||
<default>0</default>
|
|
||||||
<notnull>false</notnull>
|
|
||||||
<unsigned>true</unsigned>
|
<unsigned>true</unsigned>
|
||||||
|
<notnull>false</notnull>
|
||||||
|
<default>0</default>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>credential_data</name>
|
<name>credential_data</name>
|
||||||
|
@ -370,8 +370,8 @@
|
||||||
<field>
|
<field>
|
||||||
<name>edited_by</name>
|
<name>edited_by</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>true</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>true</notnull>
|
||||||
</field>
|
</field>
|
||||||
<index>
|
<index>
|
||||||
<name>passman_revision_id_index</name>
|
<name>passman_revision_id_index</name>
|
||||||
|
@ -399,74 +399,74 @@
|
||||||
<field>
|
<field>
|
||||||
<name>id</name>
|
<name>id</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
|
<length>8</length>
|
||||||
|
<unsigned>true</unsigned>
|
||||||
<notnull>true</notnull>
|
<notnull>true</notnull>
|
||||||
<autoincrement>true</autoincrement>
|
<autoincrement>true</autoincrement>
|
||||||
<unsigned>true</unsigned>
|
|
||||||
<primary>true</primary>
|
<primary>true</primary>
|
||||||
<length>8</length>
|
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>item_id</name>
|
<name>item_id</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<notnull>true</notnull>
|
|
||||||
<length>8</length>
|
<length>8</length>
|
||||||
|
<notnull>true</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>item_guid</name>
|
<name>item_guid</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>true</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>true</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>vault_id</name>
|
<name>vault_id</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<notnull>false</notnull>
|
|
||||||
<unsigned>true</unsigned>
|
|
||||||
<length>8</length>
|
<length>8</length>
|
||||||
|
<unsigned>true</unsigned>
|
||||||
|
<notnull>false</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>vault_guid</name>
|
<name>vault_guid</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>false</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>false</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>user_id</name>
|
<name>user_id</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>false</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>false</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>created</name>
|
<name>created</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
<default>0</default>
|
|
||||||
<notnull>false</notnull>
|
|
||||||
<unsigned>true</unsigned>
|
<unsigned>true</unsigned>
|
||||||
|
<notnull>false</notnull>
|
||||||
|
<default>0</default>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>expire</name>
|
<name>expire</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
<default>0</default>
|
|
||||||
<notnull>false</notnull>
|
|
||||||
<unsigned>true</unsigned>
|
<unsigned>true</unsigned>
|
||||||
|
<notnull>false</notnull>
|
||||||
|
<default>0</default>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>expire_views</name>
|
<name>expire_views</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
<default>0</default>
|
|
||||||
<notnull>false</notnull>
|
|
||||||
<unsigned>true</unsigned>
|
<unsigned>true</unsigned>
|
||||||
|
<notnull>false</notnull>
|
||||||
|
<default>0</default>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>permissions</name>
|
<name>permissions</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<length>3</length>
|
<length>3</length>
|
||||||
<default>0</default>
|
|
||||||
<notnull>true</notnull>
|
|
||||||
<unsigned>true</unsigned>
|
<unsigned>true</unsigned>
|
||||||
|
<notnull>true</notnull>
|
||||||
|
<default>0</default>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>shared_key</name>
|
<name>shared_key</name>
|
||||||
|
@ -481,50 +481,48 @@
|
||||||
<field>
|
<field>
|
||||||
<name>id</name>
|
<name>id</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
|
<length>8</length>
|
||||||
|
<unsigned>true</unsigned>
|
||||||
<notnull>true</notnull>
|
<notnull>true</notnull>
|
||||||
<autoincrement>true</autoincrement>
|
<autoincrement>true</autoincrement>
|
||||||
<unsigned>true</unsigned>
|
|
||||||
<primary>true</primary>
|
<primary>true</primary>
|
||||||
<length>8</length>
|
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>item_id</name>
|
<name>item_id</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<notnull>true</notnull>
|
|
||||||
<type>clob</type>
|
|
||||||
<notnull>true</notnull>
|
|
||||||
<length>8</length>
|
<length>8</length>
|
||||||
|
<notnull>true</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>item_guid</name>
|
<name>item_guid</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>true</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>true</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>target_user_id</name>
|
<name>target_user_id</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>false</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>false</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>from_user_id</name>
|
<name>from_user_id</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>false</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>false</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>target_vault_id</name>
|
<name>target_vault_id</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<notnull>true</notnull>
|
|
||||||
<unsigned>true</unsigned>
|
|
||||||
<length>8</length>
|
<length>8</length>
|
||||||
|
<unsigned>true</unsigned>
|
||||||
|
<notnull>true</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>target_vault_guid</name>
|
<name>target_vault_guid</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>true</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>true</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>shared_key</name>
|
<name>shared_key</name>
|
||||||
|
@ -534,18 +532,18 @@
|
||||||
<field>
|
<field>
|
||||||
<name>permissions</name>
|
<name>permissions</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<notnull>true</notnull>
|
|
||||||
<unsigned>true</unsigned>
|
|
||||||
<length>3</length>
|
<length>3</length>
|
||||||
|
<unsigned>true</unsigned>
|
||||||
|
<notnull>true</notnull>
|
||||||
<default>0</default>
|
<default>0</default>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>created</name>
|
<name>created</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
<default>0</default>
|
|
||||||
<notnull>false</notnull>
|
|
||||||
<unsigned>true</unsigned>
|
<unsigned>true</unsigned>
|
||||||
|
<notnull>false</notnull>
|
||||||
|
<default>0</default>
|
||||||
</field>
|
</field>
|
||||||
</declaration>
|
</declaration>
|
||||||
</table>
|
</table>
|
||||||
|
@ -555,37 +553,37 @@
|
||||||
<field>
|
<field>
|
||||||
<name>id</name>
|
<name>id</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
|
<length>8</length>
|
||||||
|
<unsigned>true</unsigned>
|
||||||
<notnull>true</notnull>
|
<notnull>true</notnull>
|
||||||
<autoincrement>true</autoincrement>
|
<autoincrement>true</autoincrement>
|
||||||
<unsigned>true</unsigned>
|
|
||||||
<primary>true</primary>
|
<primary>true</primary>
|
||||||
<length>8</length>
|
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>vault_guid</name>
|
<name>vault_guid</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>true</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>true</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>reason</name>
|
<name>reason</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>true</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>true</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>requested_by</name>
|
<name>requested_by</name>
|
||||||
<type>text</type>
|
<type>text</type>
|
||||||
<notnull>false</notnull>
|
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
|
<notnull>false</notnull>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>created</name>
|
<name>created</name>
|
||||||
<type>integer</type>
|
<type>integer</type>
|
||||||
<length>64</length>
|
<length>64</length>
|
||||||
<default>0</default>
|
|
||||||
<notnull>false</notnull>
|
|
||||||
<unsigned>true</unsigned>
|
<unsigned>true</unsigned>
|
||||||
|
<notnull>false</notnull>
|
||||||
|
<default>0</default>
|
||||||
</field>
|
</field>
|
||||||
</declaration>
|
</declaration>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in a new issue