Files
minstrel/internal/db/migrations/0004_sessions.down.sql
T
bvandeusen 1741b57a0b 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>
2026-04-20 19:37:26 -04:00

3 lines
74 B
SQL

DROP INDEX IF EXISTS sessions_user_id_idx;
DROP TABLE IF EXISTS sessions;