From a4f25daf17392c9c4b90de60b9d777290706f667 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 8 Apr 2013 11:13:51 +0200 Subject: Generate add/drop foreign key migration statements Also add the --fkeys-deferrable-mode option. General schemas generation rework. --- odb/context.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'odb/context.cxx') diff --git a/odb/context.cxx b/odb/context.cxx index 9b8cb3c..760d653 100644 --- a/odb/context.cxx +++ b/odb/context.cxx @@ -442,6 +442,7 @@ context (ostream& os_, options (ops), features (f), db (options.database ()[0]), + in_comment (data_->in_comment_), exp (data_->exp_), ext (data_->ext_), keyword_set (data_->keyword_set_), @@ -546,6 +547,7 @@ context () options (current ().options), features (current ().features), db (current ().db), + in_comment (current ().in_comment), exp (current ().exp), ext (current ().ext), keyword_set (current ().keyword_set), -- cgit v1.1