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:
parent
6fcf4cf6ce
commit
0258a20ad9
15 changed files with 842 additions and 239 deletions
15
sql/Version-002.sql
Normal file
15
sql/Version-002.sql
Normal 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);
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue