CREATE TABLE compiled_bills (
    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,

    session_id TEXT NOT NULL,
    user_id uuid NOT NULL,
    bill integer NOT NULL,
    billing_type TEXT NOT NULL,
    billing_wallets TEXT,
    details TEXT
)
