diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-25 07:35:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-25 07:35:45 +0200 |
commit | 8554cd89897f9cbd1705592cf0318b3ef4e42665 (patch) | |
tree | a81469bcddd6bddd2eb89c12faa9c59169484b43 /odb/option-functions.cxx | |
parent | 5ced83875191cf9e0f395af79f45babd6fae3d29 (diff) |
Add support for schema version table
Diffstat (limited to 'odb/option-functions.cxx')
-rw-r--r-- | odb/option-functions.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
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) |