2013-07-29 18:33:27 +04:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<database>
|
|
|
|
|
|
|
|
<name>*dbname*</name>
|
|
|
|
<create>true</create>
|
|
|
|
<overwrite>false</overwrite>
|
|
|
|
|
|
|
|
<charset>utf8</charset>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
|
|
|
|
<name>*dbprefix*table</name>
|
|
|
|
|
|
|
|
<declaration>
|
|
|
|
<field>
|
2020-11-04 18:02:58 +03:00
|
|
|
<name>id</name>
|
2013-07-29 18:33:27 +04:00
|
|
|
<type>integer</type>
|
|
|
|
<default>0</default>
|
|
|
|
<notnull>true</notnull>
|
2017-01-10 14:10:36 +03:00
|
|
|
<primary>true</primary>
|
2013-07-29 18:33:27 +04:00
|
|
|
<length>4</length>
|
2018-03-12 17:09:55 +03:00
|
|
|
<autoincrement>1</autoincrement>
|
2013-07-29 18:33:27 +04:00
|
|
|
</field>
|
2020-11-04 18:02:58 +03:00
|
|
|
<field>
|
|
|
|
<name>integerfield</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<default>0</default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>4</length>
|
|
|
|
</field>
|
2013-07-29 18:33:27 +04:00
|
|
|
<field>
|
|
|
|
<name>integerfield_default</name>
|
|
|
|
<type>integer</type>
|
|
|
|
<default>10</default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>4</length>
|
|
|
|
</field>
|
|
|
|
<field>
|
|
|
|
<name>textfield</name>
|
|
|
|
<type>text</type>
|
|
|
|
<default>foo</default>
|
|
|
|
<notnull>true</notnull>
|
|
|
|
<length>32</length>
|
|
|
|
</field>
|
|
|
|
<field>
|
|
|
|
<name>clobfield</name>
|
2020-11-03 19:24:06 +03:00
|
|
|
<type>text</type>
|
2013-07-29 18:33:27 +04:00
|
|
|
</field>
|
|
|
|
<field>
|
|
|
|
<name>booleanfield</name>
|
|
|
|
<type>boolean</type>
|
|
|
|
</field>
|
|
|
|
<field>
|
|
|
|
<name>booleanfield_true</name>
|
|
|
|
<type>boolean</type>
|
|
|
|
<default>true</default>
|
|
|
|
</field>
|
|
|
|
<field>
|
|
|
|
<name>booleanfield_false</name>
|
|
|
|
<type>boolean</type>
|
|
|
|
<default>false</default>
|
|
|
|
</field>
|
2013-12-18 02:08:05 +04:00
|
|
|
<field>
|
|
|
|
<name>decimalfield_precision_scale</name>
|
2013-12-18 02:46:36 +04:00
|
|
|
<type>decimal</type>
|
2013-12-18 02:08:05 +04:00
|
|
|
<precision>12</precision>
|
|
|
|
<scale>2</scale>
|
|
|
|
</field>
|
2013-07-29 18:33:27 +04:00
|
|
|
|
|
|
|
<index>
|
|
|
|
<name>index_primary</name>
|
|
|
|
<primary>true</primary>
|
|
|
|
<unique>true</unique>
|
2020-11-04 18:02:58 +03:00
|
|
|
<field>
|
|
|
|
<name>id</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
</index>
|
|
|
|
|
|
|
|
<index>
|
|
|
|
<name>index_integerfield</name>
|
|
|
|
<unique>true</unique>
|
2013-07-29 18:33:27 +04:00
|
|
|
<field>
|
|
|
|
<name>integerfield</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
</index>
|
|
|
|
|
|
|
|
<index>
|
|
|
|
<name>index_boolean</name>
|
|
|
|
<unique>false</unique>
|
|
|
|
<field>
|
|
|
|
<name>booleanfield</name>
|
|
|
|
<sorting>ascending</sorting>
|
|
|
|
</field>
|
|
|
|
</index>
|
|
|
|
</declaration>
|
|
|
|
</table>
|
|
|
|
</database>
|