Commit 5c894acb authored by ryszard.szopa's avatar ryszard.szopa
Browse files

documentation: problem with create-table

parent 99421228
......@@ -14,6 +14,9 @@
CLASS in the connected database. If CLASS is a symbol, the class it
names is used."))
;; FIXME: CREATE-TABLE tests for the right columns and column-types,
;; but doesn't test if the constraints of the table are right. So, if
;; we change a foreign key in the class, PostgreSQL doesn't notice it.
(defmethod create-table ((class db-class))
(unless (class-finalized-p class)
(error "The class is not finalized."))
Markdown is supported
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