Esempio n. 1
0
 /**
  * Gets an array of the database migrations.
  *
  * @return array
  */
 private function doMigration()
 {
     $filesDone = $this->repository->getMigrationVersions();
     $filesKnown = $this->reader->getFiles();
     $filesForUpdate = $this->getFilesForUpdate($filesKnown, $filesDone);
     $classesForUpdate = $this->getMigrationClasses($filesForUpdate);
     $this->upAction($classesForUpdate);
 }