diff options
-rw-r--r-- | db/postgresql/output.xsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/postgresql/output.xsl b/db/postgresql/output.xsl index 39cc978..7d4c85d 100644 --- a/db/postgresql/output.xsl +++ b/db/postgresql/output.xsl @@ -37,13 +37,13 @@ <xsl:choose> <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, corresponding sequence, and default expression for the column with nextval(). see: 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:otherwise> <xsl:value-of select="datatype" /> |