Added album sort name in subsonic responses, fixes #419

This commit is contained in:
emeric
2024-03-02 23:05:20 +01:00
parent f20db00417
commit b45513a611
17 changed files with 56 additions and 18 deletions
+4 -2
View File
@@ -26,12 +26,14 @@ namespace Database
class Session;
using Version = std::size_t;
static constexpr Version LMS_DATABASE_VERSION{ 52 };
class VersionInfo
{
public:
using pointer = Wt::Dbo::ptr<VersionInfo>;
VersionInfo();
static VersionInfo::pointer getOrCreate(Session& session);
static VersionInfo::pointer get(Session& session);
@@ -45,7 +47,7 @@ namespace Database
}
private:
int _version{ LMS_DATABASE_VERSION };
int _version;
};
namespace Migration