nextcloud/tests/data/db_structure2.xml

123 lines
2.2 KiB
XML
Raw Normal View History

2012-10-12 17:59:19 +04:00
<?xml version="1.0" encoding="ISO-8859-1" ?>
<database>
<name>*dbname*</name>
<create>true</create>
<overwrite>false</overwrite>
<charset>utf8</charset>
<table>
2013-06-10 13:44:04 +04:00
<name>*dbprefix*cntcts_addrsbks</name>
2012-10-12 17:59:19 +04:00
<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>true</notnull>
<length>200</length>
</field>
<field>
<name>description</name>
<type>text</type>
2012-10-12 17:59:19 +04:00
<notnull>false</notnull>
<length>1024</length>
2012-10-12 17:59:19 +04:00
</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>1</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>
2013-12-19 02:40:11 +04:00
<precision>12</precision>
<scale>2</scale>
</field>
</declaration>
</table>
2012-10-12 17:59:19 +04:00
</database>