Add DB tests for default numeric
Add a table with a numeric column and an empty default directive.
This commit is contained in:
parent
b278356eb9
commit
95b3eb2c75
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue