Add message_body to raw table when it is created.
Earlier CL handled only the upgrade code path.
Bug: 28183891
Change-Id: I92f5843b260953ca1ee1f90f5d52e1037220faf6
diff --git a/src/com/android/providers/telephony/MmsSmsDatabaseHelper.java b/src/com/android/providers/telephony/MmsSmsDatabaseHelper.java
index 5c9c426..610418e 100644
--- a/src/com/android/providers/telephony/MmsSmsDatabaseHelper.java
+++ b/src/com/android/providers/telephony/MmsSmsDatabaseHelper.java
@@ -902,7 +902,8 @@
"address TEXT," +
"sub_id INTEGER DEFAULT " + SubscriptionManager.INVALID_SUBSCRIPTION_ID + ", " +
"pdu TEXT," + // the raw PDU for this part
- "deleted INTEGER DEFAULT 0);"); // bool to indicate if row is deleted
+ "deleted INTEGER DEFAULT 0," + // bool to indicate if row is deleted
+ "message_body TEXT);"); // message body
db.execSQL("CREATE TABLE attachments (" +
"sms_id INTEGER," +