- 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 |
||
|---|---|---|
| .. | ||
| postgres_test.go | ||
| postgres.go | ||
| store.go | ||