CREATE TABLE billing_user_accounts (
    user_id uuid NOT NULL,
    account_id bigint NOT NULL,
    type_id bigint,

    PRIMARY KEY(user_id, account_id),
    FOREIGN KEY(user_id) REFERENCES "user"(id),
    FOREIGN KEY(account_id) REFERENCES "billing_account"(account_id)
);
