コード例 #1
0
ファイル: InstallCommand.php プロジェクト: artesaos/migrator
 /**
  * Execute the console command.
  *
  * @return void
  */
 public function fire()
 {
     $this->repository->setSource($this->input->getOption('database'));
     $this->repository->createRepository();
     $this->info('Migration table created successfully.');
 }
コード例 #2
0
ファイル: Migrator.php プロジェクト: artesaos/migrator
 /**
  * Determine if the migration repository exists.
  *
  * @return bool
  */
 public function repositoryExists()
 {
     return $this->repository->repositoryExists();
 }