Skip to content

Commit

Permalink
Add the Plugin::load
Browse files Browse the repository at this point in the history
  • Loading branch information
harikt committed Mar 24, 2017
1 parent 9f21df3 commit 68f9789
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ if (!defined('PHINX_VERSION')) {
$config = require ROOT . '/config/app.php';
ConnectionManager::config($config['Datasources']);
Cake\Cache\Cache::config($config['Cache']);
Plugin::load('Migrations', [
'path' => ROOT . '/vendor/cakephp/migrations/',
]);
$application = new MigrationsDispatcher(PHINX_VERSION);
$application->run();
```
Expand Down

0 comments on commit 68f9789

Please sign in to comment.