diff options
Diffstat (limited to 'migration/20160906_0-mappings.cpp')
-rw-r--r-- | migration/20160906_0-mappings.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/migration/20160906_0-mappings.cpp b/migration/20160906_0-mappings.cpp new file mode 100644 index 00000000..0ff3095a --- /dev/null +++ b/migration/20160906_0-mappings.cpp @@ -0,0 +1,14 @@ +#include "migration.hpp" + +#include <QDebug> + +using namespace migrations; + +struct foo : migration +{ + const QString& unique_date() const override { qDebug() << "foo"; static QString ret(""); return ret; } + bool should_run() const override { qDebug() << "bar"; return false; } + bool run() override { return false; } +}; + +OPENTRACK_MIGRATION(foo); |