android: Fix version number on port column

The onUpgrade method creates this column for database version 6. Update
the DbColumn definition to match that version number.
This commit is contained in:
Markus Pfeiffer 2023-11-21 15:37:22 +01:00 committed by Tobias Brunner
parent 7c8773dea5
commit d629e1d358

View File

@ -46,7 +46,7 @@ public class VpnProfileSqlDataSource implements VpnProfileDataSource
new VpnProfileSqlDataSource.DbColumn(KEY_CERTIFICATE, "TEXT", 1),
new VpnProfileSqlDataSource.DbColumn(KEY_USER_CERTIFICATE, "TEXT", 2),
new VpnProfileSqlDataSource.DbColumn(KEY_MTU, "INTEGER", 5),
new VpnProfileSqlDataSource.DbColumn(KEY_PORT, "INTEGER", 5),
new VpnProfileSqlDataSource.DbColumn(KEY_PORT, "INTEGER", 6),
new VpnProfileSqlDataSource.DbColumn(KEY_SPLIT_TUNNELING, "INTEGER", 7),
new VpnProfileSqlDataSource.DbColumn(KEY_LOCAL_ID, "TEXT", 8),
new VpnProfileSqlDataSource.DbColumn(KEY_REMOTE_ID, "TEXT", 8),