Add DB tests for default numeric

Add a table with a numeric column and an empty default directive.
This commit is contained in:
Oliver Gasser 2013-11-12 11:27:57 +01:00
parent b278356eb9
commit 95b3eb2c75
2 changed files with 44 additions and 0 deletions

View File

@ -199,4 +199,26 @@
</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>
<length>15</length>
</field>
</declaration>
</table>
</database>

View File

@ -96,4 +96,26 @@
</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>
<length>15</length>
</field>
</declaration>
</table>
</database>