Move custom-rules.acl to PublicDatabase
Less files to backup. Less constants to keep track of.
This commit is contained in:
@@ -139,9 +139,7 @@ object PrivateDatabase : OrmLiteSqliteOpenHelper(app, Key.DB_PROFILE, null, 25)
|
||||
}
|
||||
|
||||
if (oldVersion < 25) {
|
||||
kvPairDao.queryBuilder().where().`in`("key",
|
||||
Key.id, Key.tfo, Key.serviceMode, Key.portProxy, Key.portLocalDns, Key.portTransproxy).query()
|
||||
.forEach { PublicDatabase.kvPairDao.createOrUpdate(it) }
|
||||
PublicDatabase.onUpgrade(database, 0, -1)
|
||||
}
|
||||
} catch (ex: Exception) {
|
||||
app.track(ex)
|
||||
|
||||
Reference in New Issue
Block a user