File: version-022.sql

package info (click to toggle)
geary 46.0-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,092 kB
  • sloc: javascript: 972; ansic: 722; sql: 247; xml: 183; python: 30; makefile: 28; sh: 24
file content (10 lines) | stat: -rw-r--r-- 441 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
--
-- Database upgrade to repopulate attachments.  Bug #713830 revealed that
-- non-text and non-image files with no Content-Disposition were being dropped.
-- Also add Content-ID to database so attachments in RCF822 messages can be paired
-- to extracted attachments on filesystem.
--

ALTER TABLE MessageAttachmentTable ADD COLUMN content_id TEXT DEFAULT NULL;
ALTER TABLE MessageAttachmentTable ADD COLUMN description TEXT DEFAULT NULL;