public function getLastBatchNumber($migrations) { return $this->table()->whereIn('migration', $migrations)->max('batch'); }