nextcloud/db_structure.xml

628 lines
9.9 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1" ?>
<database>
2011-07-23 00:47:44 +04:00
<name>*dbname*</name>
<create>true</create>
<overwrite>false</overwrite>
2011-04-17 12:37:15 +04:00
<charset>utf8</charset>
<table>
2011-04-17 12:37:15 +04:00
2011-07-23 00:47:44 +04:00
<name>*dbprefix*appconfig</name>
2011-04-17 12:37:15 +04:00
<declaration>
<field>
<name>appid</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
<length>255</length>
</field>
<field>
<name>configkey</name>
2011-04-17 12:37:15 +04:00
<type>text</type>
<default></default>
<notnull>true</notnull>
<length>255</length>
</field>
<field>
<name>configvalue</name>
<type>clob</type>
2011-04-17 12:37:15 +04:00
<notnull>true</notnull>
</field>
2011-04-17 12:37:15 +04:00
</declaration>
</table>
<table>
2011-11-09 21:41:57 +04:00
<name>*dbprefix*fscache</name>
<declaration>
2011-11-09 21:41:57 +04:00
<field>
<name>id</name>
<autoincrement>1</autoincrement>
<type>integer</type>
<default>0</default>
<notnull>true</notnull>
<length>4</length>
2011-11-09 21:41:57 +04:00
</field>
<field>
2011-04-17 12:37:15 +04:00
<name>path</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
2011-07-23 00:47:44 +04:00
<length>512</length>
2011-04-17 12:37:15 +04:00
</field>
2012-03-30 20:12:33 +04:00
<field>
<name>path_hash</name>
<type>text</type>
2012-03-30 21:44:38 +04:00
<default></default>
2012-03-30 20:12:33 +04:00
<notnull>true</notnull>
<length>32</length>
</field>
2011-11-09 21:41:57 +04:00
<field>
<name>parent</name>
<type>integer</type>
<default>
</default>
<notnull>true</notnull>
2012-02-25 19:51:59 +04:00
<length>8</length>
2011-11-09 21:41:57 +04:00
</field>
<field>
<name>name</name>
<type>text</type>
<default>
</default>
<notnull>true</notnull>
2012-03-30 20:12:33 +04:00
<length>300</length>
2011-11-09 21:41:57 +04:00
</field>
2012-01-31 19:12:38 +04:00
<field>
<name>user</name>
<type>text</type>
<default>
</default>
<notnull>true</notnull>
<length>64</length>
</field>
2011-04-17 12:37:15 +04:00
<field>
<name>size</name>
<type>integer</type>
2011-04-17 12:37:15 +04:00
<default></default>
<notnull>true</notnull>
2012-02-25 19:51:59 +04:00
<length>8</length>
</field>
2011-11-09 21:41:57 +04:00
<field>
<name>ctime</name>
<type>integer</type>
<default>
</default>
<notnull>true</notnull>
2012-02-25 19:51:59 +04:00
<length>8</length>
2011-11-09 21:41:57 +04:00
</field>
<field>
<name>mtime</name>
<type>integer</type>
<default>
</default>
<notnull>true</notnull>
2012-02-25 19:51:59 +04:00
<length>8</length>
2011-11-09 21:41:57 +04:00
</field>
<field>
<name>mimetype</name>
<type>text</type>
<default>
</default>
<notnull>true</notnull>
2012-04-15 18:17:32 +04:00
<length>96</length>
2011-11-09 21:41:57 +04:00
</field>
<field>
<name>mimepart</name>
<type>text</type>
<default>
</default>
<notnull>true</notnull>
<length>32</length>
</field>
<field>
<name>encrypted</name>
<type>integer</type>
<default>0</default>
<notnull>true</notnull>
<length>1</length>
</field>
<field>
<name>versioned</name>
<type>integer</type>
<default>0</default>
<notnull>true</notnull>
<length>1</length>
</field>
2012-02-05 17:04:10 +04:00
<field>
<name>writable</name>
<type>integer</type>
<default>0</default>
<notnull>true</notnull>
<length>1</length>
</field>
2012-03-30 20:12:33 +04:00
<index>
<name>fscache_path_hash_index</name>
2011-04-17 12:37:15 +04:00
<field>
2012-03-30 20:12:33 +04:00
<name>path_hash</name>
2011-04-17 12:37:15 +04:00
<sorting>ascending</sorting>
</field>
2012-03-30 20:12:33 +04:00
</index>
2011-04-17 12:37:15 +04:00
2011-11-09 21:41:57 +04:00
<index>
<name>parent_index</name>
<field>
<name>parent</name>
<sorting>ascending</sorting>
</field>
</index>
2012-03-30 20:12:33 +04:00
<index>
<name>name_index</name>
<field>
<name>name</name>
<sorting>ascending</sorting>
</field>
</index>
2011-11-09 21:41:57 +04:00
<index>
<name>parent_name_index</name>
<field>
<name>parent</name>
<sorting>ascending</sorting>
</field>
<field>
<name>name</name>
<sorting>ascending</sorting>
</field>
</index>
2011-04-17 12:37:15 +04:00
</declaration>
</table>
<table>
2011-07-23 00:47:44 +04:00
<name>*dbprefix*group_user</name>
2011-04-17 12:37:15 +04:00
<declaration>
<field>
<name>gid</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
<length>64</length>
</field>
<field>
<name>uid</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
<length>64</length>
</field>
</declaration>
</table>
<table>
2011-07-23 00:47:44 +04:00
<name>*dbprefix*groups</name>
2011-04-17 12:37:15 +04:00
<declaration>
<field>
2011-04-17 12:37:15 +04:00
<name>gid</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
<length>64</length>
</field>
<index>
2011-04-17 12:37:15 +04:00
<name>groups_pKey</name>
<primary>true</primary>
<field>
2011-04-17 12:37:15 +04:00
<name>gid</name>
<sorting>ascending</sorting>
</field>
</index>
</declaration>
</table>
<table>
2011-07-23 00:47:44 +04:00
<name>*dbprefix*locks</name>
<declaration>
<field>
2011-07-23 00:47:44 +04:00
<name>id</name>
<type>integer</type>
<default>0</default>
<notnull>true</notnull>
2011-07-23 00:47:44 +04:00
<autoincrement>1</autoincrement>
<unsigned>true</unsigned>
<length>4</length>
</field>
<field>
2011-07-23 00:47:44 +04:00
<name>userid</name>
<type>text</type>
<default></default>
2011-07-23 00:47:44 +04:00
<notnull>false</notnull>
<length>200</length>
</field>
<field>
2011-07-23 00:47:44 +04:00
<name>owner</name>
<type>text</type>
<default></default>
<notnull>false</notnull>
<length>100</length>
</field>
<field>
2011-07-23 00:47:44 +04:00
<name>timeout</name>
<type>integer</type>
2011-07-23 00:47:44 +04:00
<default></default>
<notnull>false</notnull>
<unsigned>true</unsigned>
<length>4</length>
</field>
<field>
2011-07-23 00:47:44 +04:00
<name>created</name>
<type>integer</type>
2011-07-23 00:47:44 +04:00
<default></default>
<notnull>false</notnull>
2012-02-25 19:51:59 +04:00
<length>8</length>
</field>
<field>
2011-07-23 00:47:44 +04:00
<name>token</name>
<type>text</type>
<default></default>
<notnull>false</notnull>
2011-07-23 00:47:44 +04:00
<length>100</length>
</field>
<field>
2011-07-23 00:47:44 +04:00
<name>scope</name>
<type>integer</type>
2011-07-23 00:47:44 +04:00
<default></default>
<notnull>false</notnull>
2011-07-23 00:47:44 +04:00
<length>1</length>
</field>
<field>
2011-07-23 00:47:44 +04:00
<name>depth</name>
<type>integer</type>
2011-07-23 00:47:44 +04:00
<default></default>
<notnull>false</notnull>
2011-07-23 00:47:44 +04:00
<length>1</length>
</field>
<field>
2011-07-23 00:47:44 +04:00
<name>uri</name>
<type>clob</type>
<notnull>false</notnull>
</field>
</declaration>
</table>
<table>
2011-07-23 00:47:44 +04:00
<name>*dbprefix*log</name>
<declaration>
<field>
<name>id</name>
<type>integer</type>
<default>0</default>
<notnull>true</notnull>
<autoincrement>1</autoincrement>
2011-04-17 12:37:15 +04:00
<unsigned>true</unsigned>
<length>4</length>
</field>
<field>
<name>moment</name>
2011-04-17 12:37:15 +04:00
<type>timestamp</type>
<default>0000-00-00 00:00:00</default>
<notnull>true</notnull>
</field>
<field>
<name>appid</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
2011-04-17 12:37:15 +04:00
<length>255</length>
</field>
<field>
<name>user</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
2011-04-17 12:37:15 +04:00
<length>255</length>
</field>
<field>
2011-04-17 12:37:15 +04:00
<name>action</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
2011-04-17 12:37:15 +04:00
<length>255</length>
</field>
<field>
<name>info</name>
<type>clob</type>
<notnull>true</notnull>
</field>
</declaration>
</table>
2012-08-30 18:00:23 +04:00
<table>
<name>*dbprefix*oauth_consumers</name>
<declaration>
<field>
<name>key</name>
<type>text</type>
<length>64</length>
</field>
<field>
<name>secret</name>
<type>text</type>
<length>64</length>
</field>
<field>
<name>callback</name>
<type>text</type>
<length>255</length>
</field>
<field>
<name>name</name>
<type>text</type>
<length>200</length>
</field>
<field>
<name>url</name>
<type>text</type>
<length>255</length>
</field>
</declaration>
</table>
<table>
<name>*dbprefix*oauth_nonce</name>
<declaration>
<field>
<name>consumer_key</name>
<type>text</type>
<length>64</length>
</field>
<field>
<name>token</name>
<type>text</type>
<length>64</length>
</field>
<field>
<name>timestamp</name>
<type>integer</type>
<length>11</length>
</field>
<field>
<name>nonce</name>
<type>text</type>
<length>64</length>
</field>
</declaration>
</table>
<table>
<name>*dbprefix*oauth_tokens</name>
<declaration>
<field>
<name>consumer_key</name>
<type>text</type>
<length>64</length>
</field>
<field>
<name>key</name>
<type>text</type>
<length>64</length>
</field>
<field>
<name>secret</name>
<type>text</type>
<length>64</length>
</field>
<field>
<name>type></name>
<type>text</type>
<length>7</length>
</field>
</declaration>
</table>
2011-04-17 12:37:15 +04:00
<table>
2011-07-23 00:47:44 +04:00
<name>*dbprefix*preferences</name>
2011-04-17 12:37:15 +04:00
<declaration>
<field>
<name>userid</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
<length>255</length>
</field>
<field>
2011-04-17 12:37:15 +04:00
<name>appid</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
2011-04-17 12:37:15 +04:00
<length>255</length>
</field>
<field>
<name>configkey</name>
2011-04-17 12:37:15 +04:00
<type>text</type>
<default></default>
<notnull>true</notnull>
<length>255</length>
</field>
<field>
<name>configvalue</name>
<type>clob</type>
2011-04-17 12:37:15 +04:00
<notnull>true</notnull>
</field>
</declaration>
</table>
<table>
2011-07-23 00:47:44 +04:00
<name>*dbprefix*properties</name>
<declaration>
<field>
2011-07-23 00:47:44 +04:00
<name>userid</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
2011-07-23 00:47:44 +04:00
<length>200</length>
</field>
<field>
2011-07-23 00:47:44 +04:00
<name>propertypath</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
2011-07-23 00:47:44 +04:00
<length>255</length>
</field>
<field>
2011-07-23 00:47:44 +04:00
<name>propertyname</name>
<type>text</type>
2011-07-23 00:47:44 +04:00
<default></default>
<notnull>true</notnull>
2011-07-23 00:47:44 +04:00
<length>255</length>
</field>
<field>
2011-07-23 00:47:44 +04:00
<name>propertyvalue</name>
<type>clob</type>
2011-07-23 00:47:44 +04:00
<notnull>true</notnull>
</field>
</declaration>
</table>
<table>
2011-07-23 00:47:44 +04:00
<name>*dbprefix*users</name>
<declaration>
<field>
2011-04-17 12:37:15 +04:00
<name>uid</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
<length>64</length>
</field>
<field>
2011-04-17 12:37:15 +04:00
<name>password</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
2011-04-17 12:37:15 +04:00
<length>255</length>
</field>
<index>
2011-04-17 12:37:15 +04:00
<name>users_pKey</name>
<primary>true</primary>
<field>
2011-04-17 12:37:15 +04:00
<name>uid</name>
<sorting>ascending</sorting>
</field>
</index>
</declaration>
</table>
</database>