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

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

darcs-hash:90aceae05193bb85b13da1a544840c5063ef4a33
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