@classmethod
def check(cls) ->None:
    """
        Calls various checks to validate the model.

        :raises ConfigurationError: If the model has not been configured correctly.
        """
    cls._check_together('unique_together')
    cls._check_together('indexes')
