mirror of
https://github.com/zadam/trilium.git
synced 2025-01-15 03:27:44 +08:00
10 lines
524 B
SQL
10 lines
524 B
SQL
CREATE TABLE IF NOT EXISTS "blobs" (
|
|
`blobId` TEXT NOT NULL,
|
|
`content` TEXT NULL DEFAULT NULL,
|
|
`dateModified` TEXT NOT NULL,
|
|
`utcDateModified` TEXT NOT NULL,
|
|
PRIMARY KEY(`blobId`)
|
|
);
|
|
|
|
ALTER TABLE notes ADD blobId TEXT DEFAULT NULL;
|
|
ALTER TABLE note_revisions ADD blobId TEXT DEFAULT NULL;
|