Missing Table Instructions:
- Go to your Supabase SQL Editor
- Copy and paste this SQL to create your table:
CREATE TABLE public.conditions_subscriptions (
id BIGSERIAL PRIMARY KEY,
condition TEXT,
email TEXT,
phone TEXT,
created_at TIMESTAMPTZ DEFAULT now()
);
-- Enable row level security
ALTER TABLE public.conditions_subscriptions ENABLE ROW LEVEL SECURITY;
-- Create policy allowing anon inserts
CREATE POLICY "Allow anon inserts" ON public.conditions_subscriptions
FOR INSERT WITH CHECK (true);
- Click "Run" to create the table
- Refresh this page and try submitting the form again