diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py index 991db8d707..3737fa0620 100644 --- a/django/db/models/fields/__init__.py +++ b/django/db/models/fields/__init__.py @@ -411,12 +411,9 @@ class Field(RegisterLookupMixin): def _check_backend_specific_checks(self, databases=None, **kwargs): if databases is None: return [] - app_label = self.model._meta.app_label errors = [] for alias in databases: - if router.allow_migrate( - alias, app_label, model_name=self.model._meta.model_name - ): + if router.allow_migrate_model(alias, self.model): errors.extend(connections[alias].validation.check_field(self, **kwargs)) return errors