Index attachment filenames properly; fix #7575

This commit is contained in:
Charles Lindsay 2013-10-02 12:56:25 -07:00
parent ec032d5b2f
commit 64dd643760
3 changed files with 20 additions and 7 deletions

View file

@ -15,3 +15,4 @@ install(FILES version-012.sql DESTINATION ${SQL_DEST})
install(FILES version-013.sql DESTINATION ${SQL_DEST})
install(FILES version-014.sql DESTINATION ${SQL_DEST})
install(FILES version-015.sql DESTINATION ${SQL_DEST})
install(FILES version-016.sql DESTINATION ${SQL_DEST})

9
sql/version-016.sql Normal file
View file

@ -0,0 +1,9 @@
--
-- For a while there, we weren't properly indexing attachment filenames in the
-- search table. To be proper (and since this is right before a major release)
-- we want to make sure anyone who's been running the dailies has a good
-- database, which unfortunately means ditching the search table and letting
-- Geary recreate it properly.
--
DELETE FROM MessageSearchTable