X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fooddl.lisp;h=02c11f021df00c7d3bf1502c612ff4c4994696cc;hb=1a446890f95ab363af82529a133546d722ef21b1;hp=ddc1452a72fa94b69e507a7db285abd176b55821;hpb=90ce2284fab5f1daedb8aa6aba3008a5c3651e30;p=clsql.git diff --git a/sql/ooddl.lisp b/sql/ooddl.lisp index ddc1452..02c11f0 100644 --- a/sql/ooddl.lisp +++ b/sql/ooddl.lisp @@ -1,8 +1,6 @@ ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*- ;;;; ************************************************************************* ;;;; -;;;; $Id$ -;;;; ;;;; The CLSQL Object Oriented Data Definitional Language (OODDL) ;;;; ;;;; This file is part of CLSQL. @@ -108,7 +106,7 @@ in DATABASE which defaults to *DEFAULT-DATABASE*." (ordered-class-direct-slots self) (ordered-class-slots self)))) (dolist (slotdef ordered-slots) - (let ((res (database-generate-column-definition (class-name self) + (let ((res (database-generate-column-definition self slotdef database))) (when res (push res schemadef))))