From b3e8a81dfc0a3ddd9ebae23832b59274fe01b695 Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 18 Jul 2019 18:49:04 +0200 Subject: [PATCH] [Store] Increase DB version --- lib/src/Store.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/Store.dart b/lib/src/Store.dart index 7c286ca..30ff0a1 100644 --- a/lib/src/Store.dart +++ b/lib/src/Store.dart @@ -55,7 +55,7 @@ class Store { _init() async { var databasePath = await getDatabasesPath(); String path = p.join(databasePath, "FluffyMatrix.db"); - _db = await openDatabase(path, version: 5, + _db = await openDatabase(path, version: 6, onCreate: (Database db, int version) async { await createTables(db); }, onUpgrade: (Database db, int oldVersion, int newVersion) async {