accounts/internal/store
Haitao Pan dc348238f1 fix: correct sessions table column names from user_id to user_uuid
- Fixed CreateSession and GetSession SQL queries to use user_uuid instead of user_id
- Added unique constraint on sessions.token column for proper upsert support
- Created migration file to add the unique index to existing databases

This fixes the 500 error on /api/auth/login caused by session creation failure
2026-02-05 11:00:57 +08:00
..
postgres_test.go feat: move account service to repo root 2026-01-16 16:15:23 +08:00
postgres.go fix: correct sessions table column names from user_id to user_uuid 2026-02-05 11:00:57 +08:00
store.go fix: move mfa/status endpoint outside auth middleware and implement persistent session storage 2026-02-05 09:37:04 +08:00