Fix for DB creation and migration with new date schema changes.

This commit is contained in:
Moxie Marlinspike 2013-01-06 18:47:20 -08:00
parent 2204584d8f
commit 118560cf0d
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ public class SmsMigrator {
{
addStringToStatement(statement, cursor, 1, SmsDatabase.ADDRESS);
addIntToStatement(statement, cursor, 2, SmsDatabase.PERSON);
addIntToStatement(statement, cursor, 3, SmsDatabase.DATE_SENT);
addIntToStatement(statement, cursor, 3, SmsDatabase.DATE_RECEIVED);
addIntToStatement(statement, cursor, 4, SmsDatabase.DATE_RECEIVED);
addIntToStatement(statement, cursor, 5, SmsDatabase.PROTOCOL);
addIntToStatement(statement, cursor, 6, SmsDatabase.READ);