CREATE TABLE promo_codes_usage_history (
    history_event_id BIGSERIAL PRIMARY KEY,
    history_user_id text NOT NULL,
    history_originator_id text,
    history_action text NOT NULL,
    history_timestamp integer NOT NULL,
    history_comment text,

    id uuid NOT NULL,
    remaining BIGINT
);
