2011-08-06 23:09:38 +02:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
|
|
<database>
|
|
|
|
|
2012-11-11 20:24:18 +01:00
|
|
|
<name>*dbname*</name>
|
|
|
|
<create>true</create>
|
|
|
|
<overwrite>false</overwrite>
|
|
|
|
|
|
|
|
<charset>utf8</charset>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
|
|
|
|
<name>*dbprefix*contacts_addressbooks</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>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*contacts_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>
|
2011-08-06 23:09:38 +02:00
|
|
|
|
2012-11-11 22:18:05 +01:00
|
|
|
<table>
|
|
|
|
|
|
|
|
<name>*dbprefix*contacts_cards_properties</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>
|
|
|
|
|
2012-11-15 06:06:06 +01:00
|
|
|
<field>
|
|
|
|
<name>userid</name>
|
|
|
|
<type>text</type>
|
|
|
|
<default></default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>255</length>
|
|
|
|
</field>
|
|
|
|
|
2012-11-11 22:18:05 +01:00
|
|
|
<field>
|
|
|
|
<name>contactid</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<default></default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<unsigned>true</unsigned>
|
|
|
|
<length>4</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>name</name>
|
|
|
|
<type>text</type>
|
|
|
|
<default></default>
|
|
|
|
<notnull>false</notnull>
|
|
|
|
<length>64</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>value</name>
|
|
|
|
<type>text</type>
|
|
|
|
<default></default>
|
|
|
|
<notnull>false</notnull>
|
|
|
|
<length>255</length>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<field>
|
|
|
|
<name>preferred</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<default>1</default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>4</length>
|
|
|
|
</field>
|
|
|
|
|
2012-11-15 06:06:06 +01:00
|
|
|
<index>
|
2013-01-03 01:53:37 +01:00
|
|
|
<name>cp_name_index</name>
|
2012-11-15 06:06:06 +01:00
|
|
|
<field>
|
|
|
|
<name>name</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
</index>
|
|
|
|
|
|
|
|
<index>
|
2013-01-03 01:53:37 +01:00
|
|
|
<name>cp_value_index</name>
|
2012-11-15 06:06:06 +01:00
|
|
|
<field>
|
|
|
|
<name>value</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
</index>
|
|
|
|
|
2012-11-11 22:18:05 +01:00
|
|
|
</declaration>
|
|
|
|
</table>
|
2011-08-06 23:09:38 +02:00
|
|
|
</database>
|