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:
2024-11-27 22:48:03 +00:00
parent 5b4413db3f
commit 14f8eef71f
12 changed files with 277 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
[console_scripts]
yura = yura.cli:run
+12
View File
@@ -0,0 +1,12 @@
from yura.client import cli_client
import asyncio
import sys
def run():
try:
path = sys.argv[1]
except IndexError:
print("Usage: yura [ws://your-server]")
exit(1)
asyncio.run(cli_client(path))