feat(db): add sessions table for /api/* auth
Stores sha256(token) plus user_agent + last_seen_at so future active-sessions UI doesn't need another migration. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
DROP INDEX IF EXISTS sessions_user_id_idx;
|
||||
DROP TABLE IF EXISTS sessions;
|
||||
Reference in New Issue
Block a user