fix(reminders): replace N+1 per-appointment queries with single JOIN query #306

Merged
groombook-engineer[bot] merged 2 commits from fix/gro-639-n-plus-one-v2 into dev 2026-04-17 10:45:17 +00:00

2 Commits

Author SHA1 Message Date
Test User 5df8837b5f ci: add dev to pull_request branch list
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-17 02:08:08 +00:00
Flea Flicker 0abb79010d fix(GRO-639): replace sql ANY() with inArray for Drizzle compatibility
Use Drizzle's inArray() instead of raw sql template with = ANY()
to avoid PostgreSQL array binding issues in the reminder scheduler
bulk sent-check query.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-17 02:08:03 +00:00