mirror of
https://github.com/usememos/memos.git
synced 2024-11-18 04:34:19 +08:00
5121e9f954
Move migration and seed code into driver
5 lines
343 B
SQL
5 lines
343 B
SQL
CREATE INDEX IF NOT EXISTS idx_user_username ON user (username);
|
|
CREATE INDEX IF NOT EXISTS idx_memo_creator_id ON memo (creator_id);
|
|
CREATE INDEX IF NOT EXISTS idx_memo_content ON memo (content);
|
|
CREATE INDEX IF NOT EXISTS idx_memo_visibility ON memo (visibility);
|
|
CREATE INDEX IF NOT EXISTS idx_resource_creator_id ON resource (creator_id);
|