I finally understood that CURRENT_TIMESTAMP cannot be used with timestamp because MDB2 creates DATETIME columns for it.

master
Jörn Friedrich Dreyer 2012-08-27 17:55:49 +02:00
parent d6509567d1
commit b11a5ed7cf
1 changed files with 2 additions and 2 deletions

View File

@ -43,14 +43,14 @@
<field>
<name>startdate</name>
<type>timestamp</type>
<default>CURRENT_TIMESTAMP</default>
<default>0000-00-00 00:00:00</default>
<notnull>false</notnull>
</field>
<field>
<name>enddate</name>
<type>timestamp</type>
<default>CURRENT_TIMESTAMP</default>
<default>0000-00-00 00:00:00</default>
<notnull>false</notnull>
</field>