def METHOD_NAME():
    with pytest.raises(ModelDefinitionError):
        class ExampleModel2(Model):
            class Meta:
                tablename = "example4"
                database = database
                metadata = metadata
            test: int = ormar.Integer(primary_key=True, pydantic_only=True)