Commit 839765b7 authored by Max Lv's avatar Max Lv

Fix #1325

parent a3f57d25
...@@ -141,6 +141,7 @@ class DBHelper(val context: Context) ...@@ -141,6 +141,7 @@ class DBHelper(val context: Context)
} }
if (oldVersion < 23) { if (oldVersion < 23) {
TableUtils.createTable(connectionSource, classOf[KeyValuePair])
import KeyValuePair._ import KeyValuePair._
val old = PreferenceManager.getDefaultSharedPreferences(app) val old = PreferenceManager.getDefaultSharedPreferences(app)
kvPairDao.createOrUpdate(new KeyValuePair(Key.id, TYPE_INT, kvPairDao.createOrUpdate(new KeyValuePair(Key.id, TYPE_INT,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment