Source:
<code>public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { AppLog.i(T.READER, "Upgrading database from version " + oldVersion + " to version " + newVersion + " IN PROGRESS"); int currentVersion = oldVersion; if (currentVersion <= DB_LAST_VERSION_WITHOUT_MIGRATION_SCRIPT) { reset(db); currentVersion = newVersion; } switch (currentVersion) { case 136: currentVersion++; case 137: db.execSQL("ALTER TABLE tbl_posts ADD is_private_atomic BOOLEAN;"); currentVersion++; case 138: ReaderDiscoverCardsTable.INSTANCE.createTable(db); currentVersion++; case 139: db.execSQL("DROP TABLE IF EXISTS tbl_tags_recommended;"); currentVersion++; case 140: db.execSQL("ALTER TABLE tbl_posts ADD tags TEXT;"); currentVersion++; case 141: String[] args = {Integer.toString(ReaderTagType.FOLLOWED.toInt())}; db.execSQL("DELETE FROM tbl_tags WHERE tag_type=?", args); currentVersion++; case 142: db.execSQL("DROP TABLE IF EXISTS tbl_recommended_blogs;"); currentVersion++; case 143: db.execSQL("ALTER TABLE tbl_posts ADD is_wpforteams_site BOOLEAN;"); currentVersion++; case 144: db.execSQL("ALTER TABLE tbl_blog_info ADD is_wp_for_teams BOOLEAN;"); currentVersion++; <START> case 145: db.execSQL("ALTER TABLE tbl_blog_info ADD organization_id INTEGER;"); db.execSQL("ALTER TABLE tbl_posts ADD organization_id INTEGER;"); currentVersion++; } <END> if (currentVersion != newVersion) { throw new RuntimeException( "Migration from version " + oldVersion + " to version " + newVersion + " FAILED. "); } AppLog.i(T.READER, "Upgrading database from version " + oldVersion + " to version " + newVersion + " SUCCEEDED"); }</code><technical_language>if remove tbl_posts.is_wpforteams_site tbl_blog_info. is_wp_for_teams . wdyt</technical_language>

Target:
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { AppLog.i(T.READER, "Upgrading database from version " + oldVersion + " to version " + newVersion + " IN PROGRESS"); int currentVersion = oldVersion; if (currentVersion <= DB_LAST_VERSION_WITHOUT_MIGRATION_SCRIPT) { reset(db); currentVersion = newVersion; } switch (currentVersion) { case 136: currentVersion++; case 137: db.execSQL("ALTER TABLE tbl_posts ADD is_private_atomic BOOLEAN;"); currentVersion++; case 138: ReaderDiscoverCardsTable.INSTANCE.createTable(db); currentVersion++; case 139: db.execSQL("DROP TABLE IF EXISTS tbl_tags_recommended;"); currentVersion++; case 140: db.execSQL("ALTER TABLE tbl_posts ADD tags TEXT;"); currentVersion++; case 141: String[] args = {Integer.toString(ReaderTagType.FOLLOWED.toInt())}; db.execSQL("DELETE FROM tbl_tags WHERE tag_type=?", args); currentVersion++; case 142: db.execSQL("DROP TABLE IF EXISTS tbl_recommended_blogs;"); currentVersion++; case 143: currentVersion++; case 144: currentVersion++; case 145: db.execSQL("ALTER TABLE tbl_blog_info ADD organization_id INTEGER;"); db.execSQL("ALTER TABLE tbl_posts ADD organization_id INTEGER;"); currentVersion++; } if (currentVersion != newVersion) { throw new RuntimeException( "Migration from version " + oldVersion + " to version " + newVersion + " FAILED. "); } AppLog.i(T.READER, "Upgrading database from version " + oldVersion + " to version " + newVersion + " SUCCEEDED"); }