server/db_structure.xml

485 lines
7.8 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1" ?>
<database>
2011-07-22 20:47:44 +00:00
<name>*dbname*</name>
<create>true</create>
<overwrite>false</overwrite>
2011-04-17 08:37:15 +00:00
<charset>utf8</charset>
<table>
2011-04-17 08:37:15 +00:00
2011-07-22 20:47:44 +00:00
<name>*dbprefix*appconfig</name>
2011-04-17 08:37:15 +00: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 08:37:15 +00:00
<type>text</type>
<default></default>
<notnull>true</notnull>
<length>255</length>
</field>
<field>
<name>configvalue</name>
2011-04-17 08:37:15 +00:00
<type>text</type>
<default></default>
<notnull>true</notnull>
<length>255</length>
</field>
</declaration>
</table>
<table>
2011-07-22 20:47:44 +00:00
<name>*dbprefix*foldersize</name>
<declaration>
<field>
2011-04-17 08:37:15 +00:00
<name>path</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
2011-07-22 20:47:44 +00:00
<length>512</length>
2011-04-17 08:37:15 +00:00
</field>
<field>
<name>size</name>
<type>integer</type>
2011-04-17 08:37:15 +00:00
<default></default>
<notnull>true</notnull>
<length>4</length>
</field>
2011-04-17 08:37:15 +00:00
<index>
2011-07-22 20:47:44 +00:00
<name>path_index</name>
2011-04-17 08:37:15 +00:00
<field>
<name>path</name>
<sorting>ascending</sorting>
</field>
</index>
</declaration>
</table>
<table>
2011-07-22 20:47:44 +00:00
<name>*dbprefix*group_user</name>
2011-04-17 08:37:15 +00: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-22 20:47:44 +00:00
<name>*dbprefix*groups</name>
2011-04-17 08:37:15 +00:00
<declaration>
<field>
2011-04-17 08:37:15 +00:00
<name>gid</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
<length>64</length>
</field>
<index>
2011-04-17 08:37:15 +00:00
<name>groups_pKey</name>
<primary>true</primary>
<field>
2011-04-17 08:37:15 +00:00
<name>gid</name>
<sorting>ascending</sorting>
</field>
</index>
</declaration>
</table>
<table>
2011-07-22 20:47:44 +00:00
<name>*dbprefix*locks</name>
<declaration>
<field>
2011-07-22 20:47:44 +00:00
<name>id</name>
<type>integer</type>
<default>0</default>
<notnull>true</notnull>
2011-07-22 20:47:44 +00:00
<autoincrement>1</autoincrement>
<unsigned>true</unsigned>
<length>4</length>
</field>
<field>
2011-07-22 20:47:44 +00:00
<name>userid</name>
<type>text</type>
<default></default>
2011-07-22 20:47:44 +00:00
<notnull>false</notnull>
<length>200</length>
</field>
<field>
2011-07-22 20:47:44 +00:00
<name>owner</name>
<type>text</type>
<default></default>
<notnull>false</notnull>
<length>100</length>
</field>
<field>
2011-07-22 20:47:44 +00:00
<name>timeout</name>
<type>integer</type>
2011-07-22 20:47:44 +00:00
<default></default>
<notnull>false</notnull>
<unsigned>true</unsigned>
<length>4</length>
</field>
<field>
2011-07-22 20:47:44 +00:00
<name>created</name>
<type>integer</type>
2011-07-22 20:47:44 +00:00
<default></default>
<notnull>false</notnull>
<length>4</length>
</field>
<field>
2011-07-22 20:47:44 +00:00
<name>token</name>
<type>text</type>
<default></default>
<notnull>false</notnull>
2011-07-22 20:47:44 +00:00
<length>100</length>
</field>
<field>
2011-07-22 20:47:44 +00:00
<name>scope</name>
<type>integer</type>
2011-07-22 20:47:44 +00:00
<default></default>
<notnull>false</notnull>
2011-07-22 20:47:44 +00:00
<length>1</length>
</field>
<field>
2011-07-22 20:47:44 +00:00
<name>depth</name>
<type>integer</type>
2011-07-22 20:47:44 +00:00
<default></default>
<notnull>false</notnull>
2011-07-22 20:47:44 +00:00
<length>1</length>
</field>
<field>
2011-07-22 20:47:44 +00:00
<name>uri</name>
<type>clob</type>
<notnull>false</notnull>
</field>
</declaration>
</table>
<table>
2011-07-22 20:47:44 +00: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 08:37:15 +00:00
<unsigned>true</unsigned>
<length>4</length>
</field>
<field>
<name>moment</name>
2011-04-17 08:37:15 +00: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 08:37:15 +00:00
<length>255</length>
</field>
<field>
<name>user</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
2011-04-17 08:37:15 +00:00
<length>255</length>
</field>
<field>
2011-04-17 08:37:15 +00:00
<name>action</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
2011-04-17 08:37:15 +00:00
<length>255</length>
</field>
<field>
<name>info</name>
<type>clob</type>
<notnull>true</notnull>
</field>
</declaration>
</table>
<table>
2011-07-22 20:47:44 +00:00
<name>*dbprefix*preferences</name>
2011-04-17 08:37:15 +00:00
<declaration>
<field>
<name>userid</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
<length>255</length>
</field>
<field>
2011-04-17 08:37:15 +00:00
<name>appid</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
2011-04-17 08:37:15 +00:00
<length>255</length>
</field>
<field>
<name>configkey</name>
2011-04-17 08:37:15 +00:00
<type>text</type>
<default></default>
<notnull>true</notnull>
<length>255</length>
</field>
<field>
<name>configvalue</name>
2011-04-17 08:37:15 +00:00
<type>text</type>
<default></default>
<notnull>true</notnull>
<length>255</length>
</field>
</declaration>
</table>
2011-08-07 08:53:39 +00:00
<table>
<name>*dbprefix*principalgroups</name>
<declaration>
<field>
<name>id</name>
<type>integer</type>
<default>0</default>
<notnull>true</notnull>
<autoincrement>1</autoincrement>
<unsigned>true</unsigned>
<length>4</length>
</field>
<field>
<name>principal_id</name>
<type>integer</type>
<default></default>
<notnull>true</notnull>
<unsigned>true</unsigned>
<length>4</length>
</field>
<field>
<name>member_id</name>
<type>integer</type>
<default></default>
<notnull>true</notnull>
<unsigned>true</unsigned>
<length>4</length>
</field>
<index>
<name>principals_members_index</name>
<unique>true</unique>
<field>
<name>principal_id</name>
<sorting>ascending</sorting>
</field>
<field>
<name>member_id</name>
<sorting>ascending</sorting>
</field>
</index>
</declaration>
</table>
<table>
<name>*dbprefix*principals</name>
<declaration>
<field>
<name>id</name>
<type>integer</type>
<default>0</default>
<notnull>true</notnull>
<autoincrement>1</autoincrement>
<unsigned>true</unsigned>
<length>4</length>
</field>
<field>
<name>uri</name>
<type>text</type>
<default></default>
<notnull>false</notnull>
<length>255</length>
</field>
<field>
<name>displayname</name>
<type>text</type>
<default></default>
<notnull>false</notnull>
<length>255</length>
</field>
<index>
<name>uri</name>
<unique>true</unique>
<field>
<name>uri</name>
<sorting>ascending</sorting>
</field>
</index>
</declaration>
</table>
<table>
2011-07-22 20:47:44 +00:00
<name>*dbprefix*properties</name>
<declaration>
<field>
2011-07-22 20:47:44 +00:00
<name>userid</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
2011-07-22 20:47:44 +00:00
<length>200</length>
</field>
<field>
2011-07-22 20:47:44 +00:00
<name>propertypath</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
2011-07-22 20:47:44 +00:00
<length>255</length>
</field>
<field>
2011-07-22 20:47:44 +00:00
<name>propertyname</name>
<type>text</type>
2011-07-22 20:47:44 +00:00
<default></default>
<notnull>true</notnull>
2011-07-22 20:47:44 +00:00
<length>255</length>
</field>
<field>
2011-07-22 20:47:44 +00:00
<name>propertyvalue</name>
<type>clob</type>
2011-07-22 20:47:44 +00:00
<notnull>true</notnull>
</field>
</declaration>
</table>
<table>
2011-07-22 20:47:44 +00:00
<name>*dbprefix*users</name>
<declaration>
<field>
2011-04-17 08:37:15 +00:00
<name>uid</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
<length>64</length>
</field>
<field>
2011-04-17 08:37:15 +00:00
<name>password</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
2011-04-17 08:37:15 +00:00
<length>255</length>
</field>
<index>
2011-04-17 08:37:15 +00:00
<name>users_pKey</name>
<primary>true</primary>
<field>
2011-04-17 08:37:15 +00:00
<name>uid</name>
<sorting>ascending</sorting>
</field>
</index>
</declaration>
</table>
</database>