2010-06-18 22:08:24 +04:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
|
|
<database>
|
|
|
|
|
|
|
|
<name>owncloud</name>
|
|
|
|
<create>true</create>
|
|
|
|
<overwrite>false</overwrite>
|
|
|
|
|
|
|
|
<charset>latin1</charset>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
|
|
|
|
<name>groups</name>
|
|
|
|
|
|
|
|
<declaration>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>group_id</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<default>0</default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<autoincrement>1</autoincrement>
|
|
|
|
<length>4</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>group_name</name>
|
|
|
|
<type>text</type>
|
|
|
|
<default></default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>64</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<index>
|
|
|
|
<name>group_name</name>
|
|
|
|
<unique>true</unique>
|
|
|
|
<field>
|
|
|
|
<name>group_name</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
</index>
|
|
|
|
|
|
|
|
</declaration>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
|
|
|
|
<name>locks</name>
|
|
|
|
|
|
|
|
<declaration>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>token</name>
|
|
|
|
<type>text</type>
|
|
|
|
<default></default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>255</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>path</name>
|
|
|
|
<type>text</type>
|
|
|
|
<default></default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>200</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>created</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<default>0</default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>4</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>modified</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<default>0</default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>4</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>expires</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<default>0</default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>4</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>owner</name>
|
|
|
|
<type>text</type>
|
|
|
|
<default></default>
|
|
|
|
<notnull>false</notnull>
|
|
|
|
<length>200</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>recursive</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<default>0</default>
|
|
|
|
<notnull>false</notnull>
|
|
|
|
<length>4</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>writelock</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<default>0</default>
|
|
|
|
<notnull>false</notnull>
|
|
|
|
<length>4</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>exclusivelock</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<default>0</default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>4</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<index>
|
|
|
|
<name>path_2</name>
|
|
|
|
<field>
|
|
|
|
<name>path</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
</index>
|
|
|
|
|
|
|
|
<index>
|
|
|
|
<name>path_3</name>
|
|
|
|
<field>
|
|
|
|
<name>path</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
<field>
|
|
|
|
<name>token</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
</index>
|
|
|
|
|
|
|
|
<index>
|
|
|
|
<name>expires</name>
|
|
|
|
<field>
|
|
|
|
<name>expires</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
</index>
|
|
|
|
|
|
|
|
<index>
|
|
|
|
<name>locks_pKey</name>
|
|
|
|
<primary>true</primary>
|
|
|
|
<field>
|
|
|
|
<name>token</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
</index>
|
|
|
|
|
|
|
|
<index>
|
|
|
|
<name>token</name>
|
|
|
|
<unique>true</unique>
|
|
|
|
<field>
|
|
|
|
<name>token</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
</index>
|
|
|
|
|
|
|
|
</declaration>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
|
|
|
|
<name>log</name>
|
|
|
|
|
|
|
|
<declaration>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>id</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<default>0</default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<autoincrement>1</autoincrement>
|
|
|
|
<length>4</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>timestamp</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<default></default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>4</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>user</name>
|
|
|
|
<type>text</type>
|
|
|
|
<default></default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>250</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>type</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<default></default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>4</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>message</name>
|
|
|
|
<type>text</type>
|
|
|
|
<default></default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>250</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
</declaration>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
|
|
|
|
<name>properties</name>
|
|
|
|
|
|
|
|
<declaration>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>path</name>
|
|
|
|
<type>text</type>
|
|
|
|
<default></default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>255</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>name</name>
|
|
|
|
<type>text</type>
|
|
|
|
<default></default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>120</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>ns</name>
|
|
|
|
<type>text</type>
|
|
|
|
<default>DAV:</default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>120</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>value</name>
|
|
|
|
<type>clob</type>
|
|
|
|
<notnull>false</notnull>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<index>
|
|
|
|
<name>path</name>
|
|
|
|
<field>
|
|
|
|
<name>path</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
</index>
|
|
|
|
|
|
|
|
<index>
|
|
|
|
<name>properties_pKey</name>
|
|
|
|
<primary>true</primary>
|
|
|
|
<field>
|
|
|
|
<name>path</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
<field>
|
|
|
|
<name>name</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
<field>
|
|
|
|
<name>ns</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
</index>
|
|
|
|
|
|
|
|
</declaration>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
|
|
|
|
<name>user_group</name>
|
|
|
|
|
|
|
|
<declaration>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>user_group_id</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<default>0</default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<autoincrement>1</autoincrement>
|
|
|
|
<length>4</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>user_id</name>
|
2010-06-20 19:58:39 +04:00
|
|
|
<type>integer</type>
|
2010-06-18 22:08:24 +04:00
|
|
|
<default></default>
|
|
|
|
<notnull>true</notnull>
|
2010-06-20 19:58:39 +04:00
|
|
|
<length>4</length>
|
2010-06-18 22:08:24 +04:00
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>group_id</name>
|
2010-06-20 19:58:39 +04:00
|
|
|
<type>integer</type>
|
2010-06-18 22:08:24 +04:00
|
|
|
<default></default>
|
|
|
|
<notnull>true</notnull>
|
2010-06-20 19:58:39 +04:00
|
|
|
<length>4</length>
|
2010-06-18 22:08:24 +04:00
|
|
|
</field>
|
|
|
|
|
|
|
|
</declaration>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
|
|
|
|
<name>users</name>
|
|
|
|
|
|
|
|
<declaration>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>user_id</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<default>0</default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<autoincrement>1</autoincrement>
|
|
|
|
<length>4</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>user_name</name>
|
|
|
|
<type>text</type>
|
|
|
|
<default></default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>64</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>user_name_clean</name>
|
|
|
|
<type>text</type>
|
|
|
|
<default></default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>64</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>user_password</name>
|
|
|
|
<type>text</type>
|
|
|
|
<default></default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>340</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<index>
|
|
|
|
<name>user_name</name>
|
|
|
|
<unique>true</unique>
|
|
|
|
<field>
|
|
|
|
<name>user_name</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
<field>
|
|
|
|
<name>user_name_clean</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
</index>
|
|
|
|
|
|
|
|
</declaration>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</database>
|