Disable our not-so-hot preview generation as part of database upgrade
for now. it took a long time and got mediocre results.
This commit is contained in:
parent
591ca5bc5e
commit
22e771ef2a
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ public class LocalStore extends Store implements Serializable
|
|||
if (mDb.getVersion() < 33)
|
||||
{
|
||||
mDb.execSQL("ALTER TABLE messages ADD preview TEXT");
|
||||
mDb.execSQL("UPDATE messages SET preview = SUBSTR(text_content,1,200) WHERE deleted = 0");
|
||||
// mDb.execSQL("UPDATE messages SET preview = SUBSTR(text_content,1,200) WHERE deleted = 0");
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue