Skip to content

Commit

Permalink
package reference from previous commit fixed, now other projects that…
Browse files Browse the repository at this point in the history
… depend on mito work
  • Loading branch information
daninus14 committed Nov 11, 2024
1 parent d1e5b72 commit 6187dc5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 20 deletions.
37 changes: 19 additions & 18 deletions src/core/class/column.lisp
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
(in-package :cl-user)
(defpackage mito.class.column
(:use #:cl
#:mito.util
#:mito.error)
(:import-from #:alexandria
#:delete-from-plist
#:ensure-car)
(:export #:table-column-class
#:column-standard-effective-slot-definitions
#:table-column-type
#:%table-column-type
#:table-column-not-null-p
#:table-column-name
#:primary-key-p
#:ghost-slot-p
#:table-column-references
#:table-column-references-column
#:table-column-info
#:table-column-info-for-create-table))
(:use #:cl
#:mito.util
#:mito.error)
(:import-from #:alexandria
#:delete-from-plist
#:ensure-car)
(:export #:table-column-class
#:col-type
#:column-standard-effective-slot-definitions
#:table-column-type
#:%table-column-type
#:table-column-not-null-p
#:table-column-name
#:primary-key-p
#:ghost-slot-p
#:table-column-references
#:table-column-references-column
#:table-column-info
#:table-column-info-for-create-table))
(in-package :mito.class.column)

(deftype references ()
Expand Down
5 changes: 3 additions & 2 deletions src/core/class/table.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,9 @@
;; set here all the relevant slots. See column-standard-effective-slot-definitions
(setf (ghost-slot-p result)
(some #'ghost-slot-p direct-slot-definitions))
(setf (%table-column-type result)
(some #'%table-column-type direct-slot-definitions))
(when (slot-boundp result 'mito.class.column:col-type)
(setf (%table-column-type result)
(some #'%table-column-type direct-slot-definitions)))
(setf (table-column-references result)
(some #'table-column-references direct-slot-definitions))
(setf (primary-key-p result)
Expand Down

0 comments on commit 6187dc5

Please sign in to comment.