feat: add user_id index to profiles table for faster lookup queries

The new index on the `user_id` column in the `profiles` table improves query performance for user-specific lookups, reducing full table scans during authentication and profile retrieval operations.
This commit is contained in:
2025-01-05 21:59:51 +00:00
parent c0a2031bc8
commit 29239df816
9 changed files with 335 additions and 66 deletions
+6 -1
View File
@@ -1,7 +1,12 @@
all: build run
build:
gcc main.c -lssl -lcrypto -ljson-c -Ofast -o r -Werror -Wall -lpython3.14 -I/usr/include/python3.14 -lreadline -lncurses
gcc main.c -lssl -lcrypto -ljson-c -Ofast -o r -Werror -Wall -lpython3.14 -I/usr/include/python3.14 -lreadline -lncurses
publish r
build_free:
gcc main.c -DFREE_VERSION -lssl -lcrypto -ljson-c -Ofast -o rf -Werror -Wall -lpython3.14 -I/usr/include/python3.14 -lreadline -lncurses
publish rf
run:
./r