r9050: Automated commit for Debian build of clsql upstream-version-2.7.6
[clsql.git] / sql / objects.lisp
index e1bc241e09cdf26c4be92f3e9d1ff7517052063a..38c5f498ace16816ff1556eb09bd6bb28019150f 100644 (file)
@@ -234,6 +234,7 @@ superclass of the newly-defined View Class."
     (let ((cdef
            (list (sql-expression :attribute (view-class-slot-column slotdef))
                  (slot-type slotdef))))
+      (setf cdef (append cdef (list (view-class-slot-db-type slotdef))))
       (let ((const (view-class-slot-db-constraints slotdef)))
         (when const 
           (setq cdef (append cdef (list const)))))