Add new column to table creation method
Change-Id: I2c6fe80d06e54dbd10eba41f0a0aa758baffb1b0
This commit is contained in:
parent
9dcb72e1ec
commit
2e112b2d12
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user