mirror of
https://gitea.ingwaz.work/Ingwaz/openbrain-mcp.git
synced 2026-03-31 06:39:06 +00:00
7 lines
189 B
SQL
7 lines
189 B
SQL
ALTER TABLE memories
|
|
ADD COLUMN IF NOT EXISTS expires_at TIMESTAMPTZ;
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_memories_expires_at
|
|
ON memories (expires_at)
|
|
WHERE expires_at IS NOT NULL;
|