X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fexpressions.lisp;h=4c57bc3e86f71ae6f97a174587bb93b546a034fb;hb=31ca29efddf77e342aa180dfd2d2e292f6055530;hp=10bdb5ec0b2a0dd23e7d85032da5f180e1b45315;hpb=374df8f34a7214e08fc4cfc5d734d024acdbf9ca;p=clsql.git diff --git a/sql/expressions.lisp b/sql/expressions.lisp index 10bdb5e..4c57bc3 100644 --- a/sql/expressions.lisp +++ b/sql/expressions.lisp @@ -1108,7 +1108,9 @@ uninclusive, and the args from that keyword to the end." (ecase (database-underlying-type database) (:mssql "IDENTITY (1,1)") ((:sqlite :sqlite3) "PRIMARY KEY AUTOINCREMENT") - (:mysql "AUTO_INCREMENT"))) + (:mysql "AUTO_INCREMENT") + ;; this is modeled as a datatype instead of a constraint + (:postgresql ""))) ;; everything else just get the name (T (string-upcase (symbol-name constraint)))))