mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-04-26 06:39:13 -05:00
uploading image to attachment
This commit is contained in:
@@ -6,11 +6,11 @@ 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