diff --git a/supabase/migrations/20241108083517_populate_assignments_data.sql b/supabase/migrations/20241108083517_populate_assignments_data.sql index 05413116..8c5fb791 100644 --- a/supabase/migrations/20241108083517_populate_assignments_data.sql +++ b/supabase/migrations/20241108083517_populate_assignments_data.sql @@ -1,5 +1,5 @@ UPDATE "public"."help_requests" -SET "assignees_count" = ( +SET "asignees_count" = ( SELECT COUNT(*) FROM "public"."help_request_assignments" WHERE "public"."help_request_assignments"."help_request_id" = "public"."help_requests"."id"