diff options
Diffstat (limited to 'odb/schema-catalog.hxx')
-rw-r--r-- | odb/schema-catalog.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/odb/schema-catalog.hxx b/odb/schema-catalog.hxx index 953f099..8b06a79 100644 --- a/odb/schema-catalog.hxx +++ b/odb/schema-catalog.hxx @@ -168,6 +168,17 @@ namespace odb // Schema version information. // public: + // Return the base model version. + // + static schema_version + base_version (const database& db, const std::string& name = "") + { + return base_version (db.id (), name); + } + + static schema_version + base_version (database_id, const std::string& name = ""); + // Return the current model version. // static schema_version |