docs: def migrate_process_schema(self, process, schema, from_state):
          """Migrate process schema.
  
          :param process: Process instance
          :param schema: Process schema to migrate
          :param from_state: Database model state
          :return: True if the process was migrated, False otherwise
          """
          if process.type == self.new_type:
              return False
  
          process.type = self.new_type
          return True