docs: def allow_migrate(self, db, app_label, model_name=None, **hints):
          """
          Don't attempt to sync SF models to non SF databases and vice versa.
          """
          if model_name:
              model = apps.get_model(app_label, model_name)
          else:
              # hints are used with less priority, because many hints are dynamic
              # models made by migrations on a '__fake__' module which are not
              # SalesforceModels
              model = hints.get('model')
  
          if hasattr(model, '_salesforce_object'):
              # SF models can be migrated if SALESFORCE_DB_ALIAS is e.g.
              # a sqlite3 database or any non-SF database.
              if not (is_sf_database(db) or db == self.sf_alias):
                  return False
          else:
              if is_sf_database(db) or self.sf_alias != 'default' and db == self.sf_alias:
                  return False
          # TODO: It is usual that "migrate" is currently disallowed for SF.
          # In the future it can be implemented to do a deep check by
          # introspection of compatibily between Django models and SF database.
          if hasattr(model, '_salesforce_object'):
              # return False
              pass