aboutsummaryrefslogtreecommitdiff
path: root/odb/database.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/database.ixx')
-rw-r--r--odb/database.ixx15
1 files changed, 1 insertions, 14 deletions
diff --git a/odb/database.ixx b/odb/database.ixx
index 378a376..a15bb7d 100644
--- a/odb/database.ixx
+++ b/odb/database.ixx
@@ -11,10 +11,7 @@ namespace odb
{
inline database::
database (database_id id)
- : id_ (id),
- tracer_ (0),
- default_schema_version_ (0),
- schema_version_seq_ (1)
+ : id_ (id), tracer_ (0), schema_version_seq_ (1)
{
}
@@ -36,16 +33,6 @@ namespace odb
return schema_version_migration (name).migration;
}
- inline const database::schema_version_migration_type& database::
- schema_version_migration (const std::string& name) const
- {
- return name.empty () &&
- default_schema_version_ != 0 &&
- default_schema_version_->version != 0
- ? *default_schema_version_
- : schema_version_migration_ (name);
- }
-
inline void database::
schema_version_migration (schema_version_type v,
bool m,