mirror of
https://github.com/usememos/memos.git
synced 2025-01-03 03:38:23 +03:00
chore: add memo_relation (#1585)
This commit is contained in:
parent
00f69d683a
commit
cd6ab61c2d
@ -123,4 +123,12 @@ CREATE TABLE idp (
|
||||
type TEXT NOT NULL,
|
||||
identifier_filter TEXT NOT NULL DEFAULT '',
|
||||
config TEXT NOT NULL DEFAULT '{}'
|
||||
);
|
||||
|
||||
-- memo_relation
|
||||
CREATE TABLE memo_relation (
|
||||
memo_id INTEGER NOT NULL,
|
||||
related_memo_id INTEGER NOT NULL,
|
||||
type TEXT NOT NULL,
|
||||
UNIQUE(memo_id, related_memo_id, type)
|
||||
);
|
Loading…
Reference in New Issue
Block a user