From 8554cd89897f9cbd1705592cf0318b3ef4e42665 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 25 Apr 2013 07:35:45 +0200 Subject: Add support for schema version table --- odb/option-functions.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'odb/option-functions.cxx') diff --git a/odb/option-functions.cxx b/odb/option-functions.cxx index 61db175..6c693c1 100644 --- a/odb/option-functions.cxx +++ b/odb/option-functions.cxx @@ -48,6 +48,11 @@ process_options (options& o) } } + // Set default --schema-version-table value. + // + if (o.schema_version_table ().count (db) == 0) + o.schema_version_table ()[db] = "schema_version"; + // Set default --schema-name value. // if (o.schema_name ().count (db) == 0) -- cgit v1.1