Added a unit test to check for migration

This commit is contained in:
emeric
2024-05-08 16:01:16 +02:00
parent fcf72fb719
commit c6104c06ea
4 changed files with 332 additions and 0 deletions
+5
View File
@@ -121,6 +121,11 @@ namespace lms::db
return ReadTransaction{ _session };
}
void Session::execute(std::string_view statement)
{
_session.execute(std::string{ statement });
}
void Session::prepareTablesIfNeeded()
{
LMS_LOG(DB, INFO, "Preparing tables...");