Skip to content

Commit

Permalink
Fix class references
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Dec 13, 2019
1 parent 986566a commit 29a2521
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions chash.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@

require __DIR__.'/vendor/autoload.php';

use Doctrine\DBAL\Tools\Console\Command\RunSqlCommand;
use Doctrine\Migrations\Tools\Console\Command\DiffCommand;
use Doctrine\Migrations\Tools\Console\Command\ExecuteCommand;
use Doctrine\Migrations\Tools\Console\Command\GenerateCommand;
use Doctrine\Migrations\Tools\Console\Command\MigrateCommand;
use Doctrine\Migrations\Tools\Console\Command\StatusCommand;
use Doctrine\Migrations\Tools\Console\Command\VersionCommand;
use Symfony\Component\Console\Application;

$helpers = [
Expand All @@ -34,16 +41,17 @@
$application->addCommands(
[
// DBAL Commands.
new \Doctrine\DBAL\Tools\Console\Command\RunSqlCommand(),
new RunSqlCommand(),
//new \Doctrine\DBAL\Tools\Console\Command\ImportCommand(),

// Migrations Commands.
new \Doctrine\DBAL\Migrations\Tools\Console\Command\DiffCommand(),
new \Doctrine\DBAL\Migrations\Tools\Console\Command\ExecuteCommand(),
new \Doctrine\DBAL\Migrations\Tools\Console\Command\GenerateCommand(),
new \Doctrine\DBAL\Migrations\Tools\Console\Command\MigrateCommand(),
new \Doctrine\DBAL\Migrations\Tools\Console\Command\StatusCommand(),
new \Doctrine\DBAL\Migrations\Tools\Console\Command\VersionCommand(),

new DiffCommand(),
new ExecuteCommand(),
new GenerateCommand(),
new MigrateCommand(),
new StatusCommand(),
new VersionCommand(),

// Chash commands

Expand Down

0 comments on commit 29a2521

Please sign in to comment.