summaryrefslogtreecommitdiffhomepage
path: root/migration/migration.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-09-09 20:02:29 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-09-09 20:41:53 +0200
commit64e983b3dda8f9b7d10cb31bebbc05ed13954e67 (patch)
tree5b9838ffc546555ef4fc9233e2fef82ad362d2c9 /migration/migration.hpp
parentbc139ef46760fcb9b9b7e5e6bb8e4a914b8eb222 (diff)
migration: try prevent developer naming migrations badly
Diffstat (limited to 'migration/migration.hpp')
-rw-r--r--migration/migration.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/migration/migration.hpp b/migration/migration.hpp
index b9c20f15..73ab2d53 100644
--- a/migration/migration.hpp
+++ b/migration/migration.hpp
@@ -23,6 +23,7 @@ namespace detail {
static void set_last_migration_time(const QString& val);
migrator() = delete;
static vec sorted_migrations();
+ static int to_int(const QString& str, bool& ok);
public:
static vstr run();
static void register_migration(migration* m);