mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-30 12:32:17 -05:00
Hotfix for database upgrade, version 2.3.1
This commit is contained in:
parent
b1530c4758
commit
cf499462c5
@ -2,8 +2,8 @@
|
|||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="org.sufficientlysecure.keychain"
|
package="org.sufficientlysecure.keychain"
|
||||||
android:installLocation="auto"
|
android:installLocation="auto"
|
||||||
android:versionCode="23000"
|
android:versionCode="23100"
|
||||||
android:versionName="2.3">
|
android:versionName="2.3.1">
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
General remarks
|
General remarks
|
||||||
|
@ -123,14 +123,17 @@ public class KeychainDatabase extends SQLiteOpenHelper {
|
|||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
db.execSQL(CREATE_API_APPS);
|
db.execSQL(CREATE_API_APPS);
|
||||||
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
// new column: package_signature
|
// new column: package_signature
|
||||||
db.execSQL("DROP TABLE IF EXISTS " + Tables.API_APPS);
|
db.execSQL("DROP TABLE IF EXISTS " + Tables.API_APPS);
|
||||||
db.execSQL(CREATE_API_APPS);
|
db.execSQL(CREATE_API_APPS);
|
||||||
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
// new column: fingerprint
|
// new column: fingerprint
|
||||||
db.execSQL("ALTER TABLE " + Tables.KEYS + " ADD COLUMN " + KeysColumns.FINGERPRINT
|
db.execSQL("ALTER TABLE " + Tables.KEYS + " ADD COLUMN " + KeysColumns.FINGERPRINT
|
||||||
+ " BLOB;");
|
+ " BLOB;");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user