mirror of
https://github.com/usememos/memos.git
synced 2026-12-04 12:04:22 +01:00
chore: remove memo_organizer table
This commit is contained in:
1 parent
f4cf2e9559
commit
1985205dc2
7 files changed
+4
-25
No files matched your search
@@ -47,14 +47,6 @@ CREATE TABLE memo (
|
||||
|
||||
CREATE INDEX idx_memo_creator_id ON memo (creator_id);
|
||||
|
||||
-- memo_organizer
|
||||
CREATE TABLE memo_organizer (
|
||||
memo_id INTEGER NOT NULL,
|
||||
user_id INTEGER NOT NULL,
|
||||
pinned INTEGER NOT NULL CHECK (pinned IN (0, 1)) DEFAULT 0,
|
||||
UNIQUE(memo_id, user_id)
|
||||
);
|
||||
|
||||
-- memo_relation
|
||||
CREATE TABLE memo_relation (
|
||||
memo_id INTEGER NOT NULL,
|
||||
|
||||
Reference in new issue
Block a user