CREATE TABLE drive_payments (
    id SERIAL PRIMARY KEY,
    payment_id text NOT NULL,
    account_id bigint,
    session_id text NOT NULL,
    billing_type text NOT NULL,
    payment_type text NOT NULL,
    status text NOT NULL,
    payment_error text,
    pay_method text NOT NULL,
    created_at_ts integer NOT NULL,
    last_update_ts integer NOT NULL,
    sum integer DEFAULT 0,
    cleared integer DEFAULT 0,
    order_id text DEFAULT '',
    payment_error_desc text DEFAULT '',
    card_mask text DEFAULT '',
    rrn text DEFAULT '',
    meta text,
	user_id uuid
);
