added record of modifications to mewa object
authordrewc <drewc@tech.coop>
Fri, 17 Jun 2005 03:02:43 +0000 (20:02 -0700)
committerdrewc <drewc@tech.coop>
Fri, 17 Jun 2005 03:02:43 +0000 (20:02 -0700)
darcs-hash:20050617030243-39164-0e7124d198ba40e113cbdf100a26d4b321b8bf10.gz

src/mewa/mewa.lisp

index ef3ae70..919adb3 100644 (file)
@@ -86,7 +86,6 @@ attributes is an alist keyed on the attribute nreeame."
 
 (defmethod default-attributes ((model t))
   (append (mapcar #'(lambda (s) (cons (car s) (gen-pslot (if (meta-model:foreign-key-p model (car s))
-                                                  'ucw::foreign-key
                                                   (cadr s))
                                                 (string (car s)) (car s)))) 
          (meta-model:list-slot-types model))
@@ -128,7 +127,8 @@ attributes is an alist keyed on the attribute nreeame."
     :accessor use-instance-class-p 
     :initform t)
    (initializedp :initform nil)
-   (modifiedp :accessor modifiedp :initform nil)))
+   (modifiedp :accessor modifiedp :initform nil)
+   (modifications :accessor modifications :initform nil)))
 
 
 (defmethod attributes :around ((self mewa))