DROP TABLE IF EXISTS public.segmented_market_reports;

CREATE TABLE public.segmented_market_reports (
    report_id TEXT NOT NULL,
    report_info JSONB NOT NULL,
    completion_notified_at TIMESTAMP WITH TIME ZONE NULL,
    details_synced_at TIMESTAMP WITH TIME ZONE NULL,
    created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
    updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
    CONSTRAINT segmented_market_reports_pkey PRIMARY KEY (report_id)
);
