diff options
-rw-r--r-- | platform/default/mbgl/storage/offline_database.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/mbgl/storage/offline_database.cpp b/platform/default/mbgl/storage/offline_database.cpp index d38f0c9108..65c2097182 100644 --- a/platform/default/mbgl/storage/offline_database.cpp +++ b/platform/default/mbgl/storage/offline_database.cpp @@ -51,7 +51,7 @@ void OfflineDatabase::ensureSchema() { case 4: migrateToVersion5(); // fall through case 5: migrateToVersion6(); // fall through case 6: return; - default: throw std::runtime_error("unknown schema version"); + default: break; // downgrade, delete the database } removeExisting(); |