Skip to content

Commit

Permalink
Removed dbal:import CLI command
Browse files Browse the repository at this point in the history
  • Loading branch information
morozov committed Aug 7, 2018
1 parent 9f9d347 commit 8d8ac0e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 125 deletions.
5 changes: 5 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Upgrade to 3.0

## BC BREAK: Removed dbal:import CLI command

The `dbal:import` CLI command has been removed since it only worked with PDO-based drivers by relying on a non-documented behavior of the extension, and it was impossible to make it work with other drivers.
Please use other database client applications for import, e.g. `mysql < data.sql`.

## BC BREAK: Removed support for DB-generated UUIDs

The support for DB-generated UUIDs was removed as non-portable.
Expand Down
123 changes: 0 additions & 123 deletions lib/Doctrine/DBAL/Tools/Console/Command/ImportCommand.php

This file was deleted.

2 changes: 0 additions & 2 deletions lib/Doctrine/DBAL/Tools/Console/ConsoleRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Doctrine\DBAL\Tools\Console;

use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Tools\Console\Command\ImportCommand;
use Doctrine\DBAL\Tools\Console\Command\ReservedWordsCommand;
use Doctrine\DBAL\Tools\Console\Command\RunSqlCommand;
use Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper;
Expand Down Expand Up @@ -60,7 +59,6 @@ public static function addCommands(Application $cli)
{
$cli->addCommands([
new RunSqlCommand(),
new ImportCommand(),
new ReservedWordsCommand(),
]);
}
Expand Down

0 comments on commit 8d8ac0e

Please sign in to comment.