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 profile retrieval operations.
This commit is contained in:
@@ -53,3 +53,20 @@ clean:
|
||||
find . -type f -name '*.pyc' -delete
|
||||
rm -rf devplacepy.egg-info
|
||||
rm -rf .venv
|
||||
|
||||
.PHONY: docker-build docker-up docker-down docker-logs docker-clean
|
||||
|
||||
docker-build:
|
||||
docker compose build
|
||||
|
||||
docker-up:
|
||||
docker compose up -d
|
||||
|
||||
docker-down:
|
||||
docker compose down
|
||||
|
||||
docker-logs:
|
||||
docker compose logs -f
|
||||
|
||||
docker-clean:
|
||||
docker compose down -v
|
||||
|
||||
Reference in New Issue
Block a user