/** * Run the migrations on the specified array of flats * @param array $flats Array of flat names */ public function migrate($flats = []) { // If a single string was passed // wrap it inside of an array if (!is_array($flats)) { $flats = [$flats]; } foreach ($flats as $flat) { if ($this->schema->switchSchema($flat)) { $this->schema->migrate(); } } }