mirror of
https://gitea.ingwaz.work/Ingwaz/openbrain-mcp.git
synced 2026-06-15 22:07:08 +00:00
9 lines
281 B
SQL
9 lines
281 B
SQL
ALTER TABLE memories
|
|
ADD COLUMN IF NOT EXISTS auth_scope VARCHAR(255) NOT NULL DEFAULT 'public';
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_memories_auth_scope
|
|
ON memories (auth_scope);
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_memories_auth_scope_agent
|
|
ON memories (auth_scope, agent_id);
|