deploy / deploy (push) Successful in 41s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
4 lines
306 B
SQL
4 lines
306 B
SQL
-- Bobinoo — index pour les notifications d'abonnement (le déclencheur cherche par compte + personne). Idempotent.
|
|
create index if not exists notifications_user_actor_idx on public.notifications (user_id, actor_id);
|
|
create index if not exists notifications_actor_idx on public.notifications (actor_id);
|