fix an issue when upgrading database

This commit is contained in:
Max Lv
2015-11-24 10:42:57 +08:00
parent be4ddc37db
commit 050007b49b
@@ -89,7 +89,6 @@ class DBHelper(val context: Context)
"SELECT id, name, host, localPort, remotePort, password, method, route, 1 - global, bypass, udpdns, auth," +
" ipv6, individual FROM `tmp`;")
profileDao.executeRawNoArgs("DROP TABLE `tmp`;")
return
}
if (oldVersion < 13) {
profileDao.executeRawNoArgs("ALTER TABLE `profile` ADD COLUMN tx LONG;")