コード例 #1
0
ファイル: Run.php プロジェクト: sleimanx2/plastic
 protected function prepareDatabase()
 {
     $this->mapper->setConnection($this->option('database'));
     if (!$this->mapper->repositoryExists()) {
         $options = ['--database' => $this->option('database')];
         $this->call('mapping:install', $options);
     }
 }