mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
refactor: store migrator
This commit is contained in:
7
store/migration/sqlite/prod/0.13/00__memo_relation.sql
Normal file
7
store/migration/sqlite/prod/0.13/00__memo_relation.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
-- 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)
|
||||
);
|
Reference in New Issue
Block a user