mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-09-29 08:08:21 +00:00
Store message-id of eml files
This commit is contained in:
@@ -2,7 +2,11 @@ CREATE TABLE "attachment_archive" (
|
||||
"id" varchar(254) not null primary key,
|
||||
"file_id" varchar(254) not null,
|
||||
"filename" varchar(254),
|
||||
"message_id" varchar(254),
|
||||
"created" timestamp not null,
|
||||
foreign key ("file_id") references "filemeta"("id"),
|
||||
foreign key ("id") references "attachment"("attachid")
|
||||
);
|
||||
|
||||
CREATE INDEX "attachment_archive_message_id_idx"
|
||||
ON "attachment_archive"("message_id");
|
||||
|
Reference in New Issue
Block a user