mirror of
https://github.com/zadam/trilium.git
synced 2026-05-06 21:26:06 +02:00
uploading image to attachment
This commit is contained in:
@@ -112,9 +112,10 @@ CREATE TABLE IF NOT EXISTS "attachments"
|
||||
mime TEXT not null,
|
||||
title TEXT not null,
|
||||
isProtected INT not null DEFAULT 0,
|
||||
blobId TEXT not null,
|
||||
blobId TEXT DEFAULT null,
|
||||
utcDateScheduledForDeletionSince TEXT DEFAULT NULL,
|
||||
utcDateModified TEXT not null,
|
||||
isDeleted INT not null,
|
||||
deleteId TEXT DEFAULT NULL);
|
||||
CREATE UNIQUE INDEX IDX_attachments_parentId_role
|
||||
CREATE INDEX IDX_attachments_parentId_role
|
||||
on attachments (parentId, role);
|
||||
|
||||
Reference in New Issue
Block a user