tasq/supabase/migrations/20260224131500_send_fcm_errors_table.sql
Marc Rejohn Castillano 5979a04254 * Push Notification Setup and attempt
* Office Ordering
* Allow editing of Task and Ticket Details after creation
2026-02-24 21:06:46 +08:00

12 lines
404 B
SQL

-- table for capturing errors that occur inside the send_fcm edge function
-- when it is invoked via database trigger. This makes it easier to debug
-- production failures without needing to inspect external logs.
create table if not exists public.send_fcm_errors (
id uuid default gen_random_uuid() primary key,
payload jsonb,
error text,
stack text,
created_at timestamptz default now()
);