I finally understood that CURRENT_TIMESTAMP cannot be used with timestamp because MDB2 creates DATETIME columns for it.
parent
d6509567d1
commit
b11a5ed7cf
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue