312 lines
5.5 KiB
XML
312 lines
5.5 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
<database>
|
|
|
|
<name>*dbname*</name>
|
|
<create>false</create>
|
|
<overwrite>false</overwrite>
|
|
|
|
<charset>utf8</charset>
|
|
|
|
<table>
|
|
|
|
<name>*dbprefix*cntcts_addrsbks</name>
|
|
|
|
<declaration>
|
|
|
|
<field>
|
|
<name>id</name>
|
|
<type>integer</type>
|
|
<default>0</default>
|
|
<notnull>true</notnull>
|
|
<autoincrement>1</autoincrement>
|
|
<unsigned>true</unsigned>
|
|
<length>4</length>
|
|
<comments>This is the id</comments>
|
|
</field>
|
|
|
|
<field>
|
|
<name>userid</name>
|
|
<type>text</type>
|
|
<default></default>
|
|
<notnull>true</notnull>
|
|
<length>255</length>
|
|
</field>
|
|
|
|
<field>
|
|
<name>displayname</name>
|
|
<type>text</type>
|
|
<default></default>
|
|
<notnull>false</notnull>
|
|
<length>255</length>
|
|
</field>
|
|
|
|
<field>
|
|
<name>uri</name>
|
|
<type>text</type>
|
|
<default></default>
|
|
<notnull>false</notnull>
|
|
<length>200</length>
|
|
</field>
|
|
|
|
<field>
|
|
<name>description</name>
|
|
<type>text</type>
|
|
<notnull>false</notnull>
|
|
<length>255</length>
|
|
</field>
|
|
|
|
<field>
|
|
<name>ctag</name>
|
|
<type>integer</type>
|
|
<default>1</default>
|
|
<notnull>true</notnull>
|
|
<unsigned>true</unsigned>
|
|
<length>4</length>
|
|
</field>
|
|
|
|
<field>
|
|
<name>active</name>
|
|
<type>integer</type>
|
|
<default>1</default>
|
|
<notnull>true</notnull>
|
|
<length>4</length>
|
|
</field>
|
|
|
|
</declaration>
|
|
|
|
</table>
|
|
|
|
<table>
|
|
|
|
<name>*dbprefix*cntcts_cards</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>addressbookid</name>
|
|
<type>integer</type>
|
|
<default></default>
|
|
<notnull>true</notnull>
|
|
<unsigned>true</unsigned>
|
|
<length>4</length>
|
|
</field>
|
|
|
|
<field>
|
|
<name>fullname</name>
|
|
<type>text</type>
|
|
<default></default>
|
|
<notnull>false</notnull>
|
|
<length>255</length>
|
|
</field>
|
|
|
|
<field>
|
|
<name>carddata</name>
|
|
<type>clob</type>
|
|
<notnull>false</notnull>
|
|
</field>
|
|
|
|
<field>
|
|
<name>uri</name>
|
|
<type>text</type>
|
|
<default></default>
|
|
<notnull>false</notnull>
|
|
<length>200</length>
|
|
</field>
|
|
|
|
<field>
|
|
<name>lastmodified</name>
|
|
<type>integer</type>
|
|
<default></default>
|
|
<notnull>false</notnull>
|
|
<unsigned>true</unsigned>
|
|
<length>4</length>
|
|
</field>
|
|
|
|
</declaration>
|
|
|
|
</table>
|
|
|
|
<table>
|
|
|
|
<name>*dbprefix*vcategory</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>uid</name>
|
|
<type>text</type>
|
|
<default></default>
|
|
<notnull>true</notnull>
|
|
<length>64</length>
|
|
</field>
|
|
|
|
<field>
|
|
<name>type</name>
|
|
<type>text</type>
|
|
<default></default>
|
|
<notnull>true</notnull>
|
|
<length>64</length>
|
|
</field>
|
|
|
|
<field>
|
|
<name>category</name>
|
|
<type>text</type>
|
|
<default></default>
|
|
<notnull>true</notnull>
|
|
<length>255</length>
|
|
</field>
|
|
|
|
</declaration>
|
|
</table>
|
|
|
|
<table>
|
|
<name>*dbprefix*timestamp</name>
|
|
<declaration>
|
|
<field>
|
|
<name>id</name>
|
|
<autoincrement>1</autoincrement>
|
|
<type>integer</type>
|
|
<default>0</default>
|
|
<notnull>true</notnull>
|
|
<length>4</length>
|
|
</field>
|
|
|
|
<field>
|
|
<name>timestamptest</name>
|
|
<type>timestamp</type>
|
|
<default></default>
|
|
<notnull>false</notnull>
|
|
</field>
|
|
</declaration>
|
|
</table>
|
|
|
|
<table>
|
|
<name>*dbprefix*decimal</name>
|
|
<declaration>
|
|
<field>
|
|
<name>id</name>
|
|
<autoincrement>1</autoincrement>
|
|
<type>integer</type>
|
|
<default>0</default>
|
|
<notnull>true</notnull>
|
|
<length>4</length>
|
|
</field>
|
|
|
|
<field>
|
|
<name>decimaltest</name>
|
|
<type>decimal</type>
|
|
<default/>
|
|
<notnull>true</notnull>
|
|
<precision>12</precision>
|
|
<scale>2</scale>
|
|
</field>
|
|
</declaration>
|
|
</table>
|
|
|
|
<table>
|
|
<name>*dbprefix*migratekeyword</name>
|
|
|
|
<declaration>
|
|
|
|
<field>
|
|
<name>select</name>
|
|
<type>text</type>
|
|
<default></default>
|
|
<notnull>true</notnull>
|
|
<length>255</length>
|
|
</field>
|
|
</declaration>
|
|
</table>
|
|
|
|
<table>
|
|
<name>*dbprefix*uniconst</name>
|
|
<declaration>
|
|
|
|
<field>
|
|
<name>id</name>
|
|
<type>integer</type>
|
|
<default>0</default>
|
|
<notnull>true</notnull>
|
|
<autoincrement>1</autoincrement>
|
|
<length>4</length>
|
|
</field>
|
|
|
|
<!-- Foreign Key storages::numeric_id -->
|
|
<field>
|
|
<name>storage</name>
|
|
<type>integer</type>
|
|
<default></default>
|
|
<notnull>true</notnull>
|
|
<length>4</length>
|
|
</field>
|
|
|
|
<field>
|
|
<name>path_hash</name>
|
|
<type>text</type>
|
|
<default></default>
|
|
<notnull>true</notnull>
|
|
<length>32</length>
|
|
</field>
|
|
|
|
<field>
|
|
<name>etag</name>
|
|
<type>text</type>
|
|
<default></default>
|
|
<notnull>false</notnull>
|
|
<length>40</length>
|
|
</field>
|
|
|
|
<index>
|
|
<!--<name>fs_storage_path_hash</name>-->
|
|
<unique>true</unique>
|
|
<field>
|
|
<name>storage</name>
|
|
<sorting>ascending</sorting>
|
|
</field>
|
|
<field>
|
|
<name>path_hash</name>
|
|
<sorting>ascending</sorting>
|
|
</field>
|
|
</index>
|
|
|
|
</declaration>
|
|
|
|
</table>
|
|
|
|
<table>
|
|
|
|
<name>*dbprefix*text_table</name>
|
|
<declaration>
|
|
|
|
<field>
|
|
<name>textfield</name>
|
|
<type>text</type>
|
|
<notnull>false</notnull>
|
|
<length>255</length>
|
|
</field>
|
|
|
|
</declaration>
|
|
</table>
|
|
|
|
</database>
|