Closed berekuk closed 10 months ago
Fix for #101.
Turns out neither Postgres or Prisma doesn't create an index on foreign keys, and we did full table scans on all from history where idref="..." queries.
from history where idref="..."
I've already applied this migration in prod.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Fix for #101.
Turns out neither Postgres or Prisma doesn't create an index on foreign keys, and we did full table scans on all
from history where idref="..."
queries.I've already applied this migration in prod.