CREATE TABLE carriers (
id uuid DEFAULT gen_random_uuid() PRIMARY KEY,
name text NOT NULL,
city text, zip text, street text,
country text, website text,
notes text, contacts jsonb DEFAULT '[]'::jsonb,
created_at timestamptz DEFAULT now()
);
GRANT SELECT,INSERT,UPDATE,DELETE ON public.carriers TO anon;
GRANT SELECT,INSERT,UPDATE,DELETE ON public.carriers TO authenticated;