Deprecated dbal:import CLI command

parent 20b64d6d
# Upgrade to 2.9
## Deprecated dbal:import CLI command
The `dbal:import` CLI command has been deprecated since it only works with PDO-based drivers by relying on a non-documented behavior of the extension, and it's impossible to make it work with other drivers.
Please use other database client applications for import, e.g.:
* For MySQL and MariaDB: `mysql [dbname] < data.sql`.
* For PostgreSQL: `psql [dbname] < data.sql`.
* For SQLite: `sqlite3 /path/to/file.db < data.sql`.
# Upgrade to 2.8 # Upgrade to 2.8
## Deprecated usage of DB-generated UUIDs ## Deprecated usage of DB-generated UUIDs
......
...@@ -42,6 +42,7 @@ use function sprintf; ...@@ -42,6 +42,7 @@ use function sprintf;
* @author Guilherme Blanco <guilhermeblanco@hotmail.com> * @author Guilherme Blanco <guilhermeblanco@hotmail.com>
* @author Jonathan Wage <jonwage@gmail.com> * @author Jonathan Wage <jonwage@gmail.com>
* @author Roman Borschel <roman@code-factory.org> * @author Roman Borschel <roman@code-factory.org>
* @deprecated Use a database client application instead
*/ */
class ImportCommand extends Command class ImportCommand extends Command
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment