Closes #3809. Attachments are now available through the message viewer and are saved as individual files outside of the database.

This commit is contained in:
Nate Lillich 2012-06-08 12:39:27 -07:00
parent 6fcf4cf6ce
commit 0258a20ad9
15 changed files with 842 additions and 239 deletions

15
sql/Version-002.sql Normal file
View file

@ -0,0 +1,15 @@
--
-- MessageAttachmentTable
--
CREATE TABLE MessageAttachmentTable (
id INTEGER PRIMARY KEY,
message_id INTEGER REFERENCES MessageTable ON DELETE CASCADE,
filename TEXT,
mime_type TEXT,
filesize INTEGER
);
CREATE INDEX MessageAttachmentTableMessageIDIndex ON MessageAttachmentTable(message_id);