Skip to content

Configure Prisma datasource URLs and add optimized indexes#212

Open
gouthamf22labs wants to merge 1 commit intocode-chat-br:mainfrom
gouthamf22labs:add-contact-indexes
Open

Configure Prisma datasource URLs and add optimized indexes#212
gouthamf22labs wants to merge 1 commit intocode-chat-br:mainfrom
gouthamf22labs:add-contact-indexes

Conversation

@gouthamf22labs
Copy link

  1. Configure Prisma datasource URLs for docker compose build fix and add optimized indexes for Contact by setting url, directUrl, and shadowDatabaseUrl in schema.prisma to use environment variables, and introducing composite/covering indexes on Contact(instanceId, remoteJid) (including id) to improve query performance and support efficient index-only scans.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant