---- PENDING

CREATE TABLE idempotency_keys
(
    id              uuid                                                          NOT NULL,
    idempotency_key character varying                                             NOT NULL,
    created_at      timestamp with time zone DEFAULT now()                        NOT NULL,
    locked_at       timestamp with time zone,
    request_method  character varying,
    request_params  jsonb,
    request_path    character varying,
    response_code   integer,
    response_body   jsonb,
    recovery_point  character varying        DEFAULT 'started'::character varying NOT NULL
);
