summaryrefslogtreecommitdiffstats
path: root/src/djinterop/enginelibrary/schema/schema_1_18_0.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/djinterop/enginelibrary/schema/schema_1_18_0.hpp')
-rw-r--r--src/djinterop/enginelibrary/schema/schema_1_18_0.hpp41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/djinterop/enginelibrary/schema/schema_1_18_0.hpp b/src/djinterop/enginelibrary/schema/schema_1_18_0.hpp
new file mode 100644
index 0000000..3ab077b
--- /dev/null
+++ b/src/djinterop/enginelibrary/schema/schema_1_18_0.hpp
@@ -0,0 +1,41 @@
+/*
+ This file is part of libdjinterop.
+
+ libdjinterop is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ libdjinterop is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with libdjinterop. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#include <sqlite_modern_cpp.h>
+#include <djinterop/enginelibrary/schema/schema_1_17_0.hpp>
+
+namespace djinterop::enginelibrary::schema
+{
+class schema_1_18_0 : public schema_1_17_0
+{
+public:
+ std::string name() const override { return "EP 1.5.1"; }
+
+protected:
+ void verify_track(sqlite::database& db) const override;
+ void verify_performance_data(sqlite::database& db) const override;
+
+ void verify_music_schema(sqlite::database& db) const override;
+ void verify_performance_schema(sqlite::database& db) const override;
+
+ void create_music_schema(sqlite::database& db) override;
+ void create_performance_schema(sqlite::database& db) override;
+};
+
+} // namespace djinterop::enginelibrary::schema