feat: add user_id index to profiles table for faster lookups
The profiles table previously lacked an index on the user_id column, causing full table scans during user lookups. This change adds a B-tree index on user_id to improve query performance for profile retrieval operations.
This commit is contained in:
@@ -32,7 +32,7 @@ server {
|
||||
gzip_proxied any;
|
||||
|
||||
location /static/uploads/ {
|
||||
alias /app/static/uploads/;
|
||||
alias /data/uploads/;
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
add_header Content-Disposition $upload_disposition;
|
||||
add_header Cache-Control "public, max-age=604800";
|
||||
|
||||
Reference in New Issue
Block a user