code: def _parse_migrations(self):
          
          migration = self.parsed['migration']
          options = self._parse_options(migration)
          versions = self._parse_versions(migration, options)
          return Migration(versions, options)
docs: Build a :class:`Migration` instance.