From bcbf3c99c292094f39b2b4160e89a8fbffa49217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Kadir=20Ak=C4=B1n?= Date: Sat, 13 Dec 2025 17:18:08 +0300 Subject: [PATCH] chore(prisma): add githubUsername column and index for faster lookups --- .../20251213133000_add_github_username/migration.sql | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/prisma/migrations/20251213133000_add_github_username/migration.sql b/prisma/migrations/20251213133000_add_github_username/migration.sql index e69de29b..bd1f00df 100644 --- a/prisma/migrations/20251213133000_add_github_username/migration.sql +++ b/prisma/migrations/20251213133000_add_github_username/migration.sql @@ -0,0 +1,5 @@ +-- AlterTable +ALTER TABLE "users" ADD COLUMN "githubUsername" TEXT; + +-- Add index for faster lookups +CREATE INDEX IF NOT EXISTS "users_githubUsername_idx" ON "users"("githubUsername");