bugfix in mysql null timestamps - thanks to Vincent Volpi

--HG--
extra : convert_revision : svn%3Ab267cdba-c1da-11dd-874b-8bacd04a0a74/trunk%40124
This commit is contained in:
ondrej.zara
2011-05-04 06:08:04 +00:00
parent d96248cded
commit d4d02b5afd
+4 -3
View File
@@ -71,9 +71,10 @@
<xsl:value-of select="datatype" /> <xsl:value-of select="datatype" />
<xsl:text></xsl:text> <xsl:text></xsl:text>
<xsl:if test="@null = 0"> <xsl:choose>
<xsl:text> NOT NULL</xsl:text> <xsl:when test="@null = 0"> NOT NULL</xsl:when>
</xsl:if> <xsl:otherwise> NULL</xsl:otherwise>
</xsl:choose>
<xsl:if test="@autoincrement = 1"> <xsl:if test="@autoincrement = 1">
<xsl:text> AUTO_INCREMENT</xsl:text> <xsl:text> AUTO_INCREMENT</xsl:text>