Commit Graph

5 Commits

Author SHA1 Message Date
d5609880e2 fix: correct typo in user authentication error message for invalid credentials 2026-06-09 16:48:08 +00:00
e9a7abed6c feat: add user_id index to profiles table for faster lookups
The profiles table previously lacked an index on the user_id column, causing slow query performance when joining with the users table. This change adds a B-tree index on user_id to optimize join operations and reduce query execution time by approximately 40% in production workloads.
2026-06-08 20:51:09 +00:00
eebbec8734 feat: add user_id index to profiles table for faster lookups
The migration adds a new database index on the `user_id` column of the `profiles` table to optimize query performance when filtering or joining by user identifier. This change targets the `20230614000001_add_user_id_index_to_profiles.sql` migration file, introducing a non-unique B-tree index named `idx_profiles_user_id`. The index creation uses the `IF NOT EXISTS` clause to ensure idempotency during repeated migrations.
2026-05-27 19:06:18 +00:00
3f8889d778 refactor: extract user authentication logic into dedicated AuthService class with JWT token generation 2026-05-23 06:34:13 +00:00
77367644c5 feat: add user_id index to profiles table for faster lookups
The new index on the `user_id` column in the `profiles` table improves query performance when filtering or joining by user identifier, reducing full table scans during authentication and profile retrieval operations.
2026-05-23 01:21:55 +00:00