protected function runUp(array $file, int $batch): void
    {
        $this->notify->note("<comment>Migrating:</comment> {$file['basename']}");

        $this->runMigration($file);

        // Once we have run a migrations class, we will log that it was run in this
        // repository so that we don't try to run it next time we do a migration
        // in the application. A migration repository keeps the migrate order.
        $this->repository->log($this->getMigrationName($file), $batch);

        $this->notify->note("<info>Migrated:</info>  {$file['basename']}");
    }