Skip to content

Commit 0df2983

Browse files
committed
Merge branch 'release/3.2' into develop
2 parents f43ec23 + 777997d commit 0df2983

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

WordPress/src/main/java/org/wordpress/android/datasets/ReaderDatabase.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020
public class ReaderDatabase extends SQLiteOpenHelper {
2121
protected static final String DB_NAME = "wpreader.db";
22-
private static final int DB_VERSION = 90;
22+
private static final int DB_VERSION = 92;
2323

2424
/*
2525
* version history
@@ -43,6 +43,7 @@ public class ReaderDatabase extends SQLiteOpenHelper {
4343
* 84 - added tbl_attachments
4444
* 85 - removed tbl_attachments, added attachments_json to tbl_posts
4545
* 90 - added default values for all INTEGER columns that were missing them (hotfix 3.1.1)
46+
* 92 - added default values for all INTEGER columns that were missing them (3.2)
4647
*/
4748

4849
/*

WordPress/src/main/java/org/wordpress/android/datasets/ReaderPostTable.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ public class ReaderPostTable {
5252

5353
protected static void createTables(SQLiteDatabase db) {
5454
db.execSQL("CREATE TABLE tbl_posts ("
55-
+ " post_id INTEGER DEFAULT 0," // post_id for WP blogs, feed_item_id for non-WP blogs
56-
+ " blog_id INTEGER DEFAULT 0," // blog_id for WP blogs, feed_id for non-WP blogs
55+
+ " post_id INTEGER DEFAULT 0," // post_id for WP blogs, feed_item_id for non-WP blogs
56+
+ " blog_id INTEGER DEFAULT 0," // blog_id for WP blogs, feed_id for non-WP blogs
5757
+ " pseudo_id TEXT NOT NULL,"
5858
+ " author_name TEXT,"
5959
+ " author_id INTEGER DEFAULT 0,"

0 commit comments

Comments
 (0)