Commit 8b1d49b0 authored by ryszard.szopa's avatar ryszard.szopa
Browse files

trying to apply delayed constraints now happens after creating a table.

parent 1fe5eaf6
......@@ -88,8 +88,8 @@ metaclass set to DB-CLASS."
(finalize-inheritance class)
(collect-constraints class)
(when (db-class-connection-spec class)
(try-delayed-constraints class)
(create-table class)))
(create-table class)
(try-delayed-constraints class)))
(defmethod collect-constraints ((class db-class))
;the slots collecting the constraints should be set to nil before
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment