Add new column to table creation method

Change-Id: I2c6fe80d06e54dbd10eba41f0a0aa758baffb1b0
This commit is contained in:
Todd Kennedy 2011-06-03 16:47:39 -07:00
parent 9dcb72e1ec
commit 2e112b2d12

View File

@ -639,7 +639,8 @@ public class EmailProvider extends ContentProvider {
+ MailboxColumns.VISIBLE_LIMIT + " integer, "
+ MailboxColumns.SYNC_STATUS + " text, "
+ MailboxColumns.MESSAGE_COUNT + " integer not null default 0, "
+ MailboxColumns.LAST_SEEN_MESSAGE_KEY + " integer"
+ MailboxColumns.LAST_SEEN_MESSAGE_KEY + " integer, "
+ MailboxColumns.LAST_TOUCHED_TIME + " integer default 0"
+ ");";
db.execSQL("create table " + Mailbox.TABLE_NAME + s);
db.execSQL("create index mailbox_" + MailboxColumns.SERVER_ID