Update output.xsl

This commit is contained in:
devshell
2017-04-12 13:01:33 -07:00
committed by GitHub
parent aa4ade9579
commit d649672e0b
+2 -2
View File
@@ -37,13 +37,13 @@
<xsl:choose> <xsl:choose>
<xsl:when test="@autoincrement = 1"> <xsl:when test="@autoincrement = 1">
<!-- use postgresql SERIAL shortcut for columns marked as <!-- use postgresql BIGSERIAL shortcut for columns marked as
auto-increment. this creates integer column, auto-increment. this creates integer column,
corresponding sequence, and default expression for the corresponding sequence, and default expression for the
column with nextval(). see: column with nextval(). see:
http://www.postgresql.org/docs/current/static/datatype-numeric.html#DATATYPE-SERIAL http://www.postgresql.org/docs/current/static/datatype-numeric.html#DATATYPE-SERIAL
--> -->
<xsl:text>SERIAL</xsl:text> <xsl:text>BIGSERIAL</xsl:text>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:value-of select="datatype" /> <xsl:value-of select="datatype" />