Example #1
0
 public function launch()
 {
     global $conn;
     $conn = $this->database->getDsn();
     include_once $this->adminer;
 }
Example #2
0
 public function getConfiguration()
 {
     $conn = ['environments' => ['default_database' => 'dev', "default_migration_table" => "m_phinx_logs", 'dev' => ['name' => $this->database->getDsn()['database'], 'connection' => $this->database->getPdo()]]];
     $paths = ['paths' => ['migrations' => __DIR__ . '/db/migrations']];
     return array_merge($paths, $conn);
 }