Merge "Add new column to table creation method"

This commit is contained in:
Todd Kennedy 2011-06-03 16:48:54 -07:00 committed by Android (Google) Code Review
commit 7d9d3a220a

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