public function log(string $file, int $batch): void
    {
        $stmt = $this->pdo->prepare("insert into {$this->table} (migration, batch) values (?, ?)");
        $stmt->bindParam(1, $file);
        $stmt->bindParam(2, $batch, PDO::PARAM_INT);
        $stmt->execute();
    }