Skip to content
refs
refs
/
source
Docs
Sign in
Code
Map
Runs
84b6df9
refs/source
/
migrations
/
0030_session_grants.sql
History
3 lines · 149 B
Raw
1
ALTER TABLE agent_sessions ADD COLUMN grant_id TEXT;
2
3
CREATE INDEX agent_sessions_grant ON agent_sessions(user_id, grant_id) WHERE ended_at IS NULL;