mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
wip attachment support
This commit is contained in:
@@ -7,8 +7,9 @@ CREATE TABLE IF NOT EXISTS "attachments"
|
||||
title TEXT not null,
|
||||
isProtected INT not null DEFAULT 0,
|
||||
blobId TEXT DEFAULT null,
|
||||
utcDateScheduledForDeletionSince TEXT DEFAULT NULL,
|
||||
dateModified TEXT NOT NULL,
|
||||
utcDateModified TEXT not null,
|
||||
utcDateScheduledForDeletionSince TEXT DEFAULT NULL,
|
||||
isDeleted INT not null,
|
||||
deleteId TEXT DEFAULT NULL);
|
||||
|
||||
|
||||
@@ -118,8 +118,9 @@ CREATE TABLE IF NOT EXISTS "attachments"
|
||||
title TEXT not null,
|
||||
isProtected INT not null DEFAULT 0,
|
||||
blobId TEXT DEFAULT null,
|
||||
utcDateScheduledForDeletionSince TEXT DEFAULT NULL,
|
||||
dateModified TEXT NOT NULL,
|
||||
utcDateModified TEXT not null,
|
||||
utcDateScheduledForDeletionSince TEXT DEFAULT NULL,
|
||||
isDeleted INT not null,
|
||||
deleteId TEXT DEFAULT NULL);
|
||||
CREATE INDEX IDX_attachments_parentId_role
|
||||
|
||||
Reference in New Issue
Block a user