File: version-022.sql

package info (click to toggle)
geary 43.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,768 kB
  • sloc: javascript: 962; ansic: 722; sql: 247; xml: 173; python: 30; sh: 24; makefile: 23
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;