CREATE TABLE "audit"."medipost_dispatch" ( "id" bigint generated by default as identity not null, "medusa_order_id" text not null, "is_medipost_error" boolean not null, "is_success" boolean not null, "error_message" text, "created_at" timestamp with time zone not null default now(), "changed_by" uuid not null ); grant usage on schema audit to service_role; grant select, insert, update, delete on table audit.medipost_dispatch to service_role;