def relationships(cls):
    """
        Relationships metadata, which can be overridden.
        """
    return [('cards', cls.card_id_field(), 'transactions', cls.
        card_id_field()), ('customers', cls.customer_id_field(), 'cards',
        cls.customer_id_field())]
