Showing
2 changed files
with
3 additions
and
3 deletions
| ... | @@ -291,7 +291,7 @@ public class DBHelper { | ... | @@ -291,7 +291,7 @@ public class DBHelper { |
| 291 | values.put(SMSDataBase.CreateDB.CREATOR, creator); | 291 | values.put(SMSDataBase.CreateDB.CREATOR, creator); |
| 292 | values.put(SMSDataBase.CreateDB.DATE, date); | 292 | values.put(SMSDataBase.CreateDB.DATE, date); |
| 293 | values.put(SMSDataBase.CreateDB.BODY, body); | 293 | values.put(SMSDataBase.CreateDB.BODY, body); |
| 294 | - values.put(SMSDataBase.CreateDB.READ, read); | 294 | + values.put(SMSDataBase.CreateDB.READ_C, read); |
| 295 | return mDB.insert(SMSDataBase.CreateDB._TABLENAME0, null, values); | 295 | return mDB.insert(SMSDataBase.CreateDB._TABLENAME0, null, values); |
| 296 | } | 296 | } |
| 297 | 297 | ... | ... |
| ... | @@ -12,7 +12,7 @@ public class SMSDataBase { | ... | @@ -12,7 +12,7 @@ public class SMSDataBase { |
| 12 | public static final String CREATOR = "creator"; | 12 | public static final String CREATOR = "creator"; |
| 13 | public static final String DATE = "date"; | 13 | public static final String DATE = "date"; |
| 14 | public static final String BODY = "body"; | 14 | public static final String BODY = "body"; |
| 15 | - public static final String READ = "read"; | 15 | + public static final String READ_C = "read_c"; |
| 16 | public static final String _TABLENAME0 = "sms"; | 16 | public static final String _TABLENAME0 = "sms"; |
| 17 | public static final String _CREATE0 = "create table if not exists "+_TABLENAME0+"(" | 17 | public static final String _CREATE0 = "create table if not exists "+_TABLENAME0+"(" |
| 18 | +MID+" integer not null primary key, " | 18 | +MID+" integer not null primary key, " |
| ... | @@ -23,6 +23,6 @@ public class SMSDataBase { | ... | @@ -23,6 +23,6 @@ public class SMSDataBase { |
| 23 | +CREATOR+" text," | 23 | +CREATOR+" text," |
| 24 | +DATE + " text," | 24 | +DATE + " text," |
| 25 | +BODY + " text," | 25 | +BODY + " text," |
| 26 | - +READ + " integer);"; | 26 | + +READ_C + " integer);"; |
| 27 | } | 27 | } |
| 28 | } | 28 | } | ... | ... |
-
Please register or login to post a comment