Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

210 B
Raw Blame
CREATE OR REPLACE FUNCTION public.jsonb_to_text_array(jsonb)
 RETURNS text[]
 LANGUAGE sql
 IMMUTABLE
AS $function$
    SELECT array_agg(value::text) FROM jsonb_array_elements_text($1) AS t(value);
$function$;