Skip to content

Commit 22fa925

Browse files
committed
Консольные команды работы с базой данных вынесены в отдельный пакет.
1 parent 496777f commit 22fa925

File tree

8 files changed

+7
-876
lines changed

8 files changed

+7
-876
lines changed

bin/console.php

-37
This file was deleted.

bin/db

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
use Local\Commands\Database\DbDrop;
4-
use Local\Commands\Database\DbExport;
5-
use Local\Commands\Database\DbImport;
6-
use Local\Services\Console\ConsoleCommandConfiguratorSimple;
3+
use Prokl\DbCommands\Commands\DbDrop;
4+
use Prokl\DbCommands\Commands\DbExport;
5+
use Prokl\DbCommands\Commands\DbImport;
6+
use Prokl\DbCommands\Configurator\ConsoleCommandConfiguratorSimple;
77
use Symfony\Component\Console\Application;
88

99
@set_time_limit(0);
@@ -24,4 +24,4 @@ $application = new ConsoleCommandConfiguratorSimple(
2424
);
2525

2626
$application->init();
27-
$application->run();
27+
$application->run();

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@
7979
"spatie/url-signer": "^1.2",
8080
"guzzlehttp/guzzle": "^7.2",
8181
"dragonmantank/cron-expression": "^3.1",
82-
"ifsnop/mysqldump-php": "^2.9",
8382
"mark-gerarts/auto-mapper-plus": "^1.3",
8483
"mark-gerarts/automapper-plus-bundle": "^1.3",
8584
"hanneskod/classtools": "^1.2",
@@ -104,7 +103,8 @@
104103
"proklung/symfony-guzzle-bundle": "^1.0",
105104
"proklung/arguments-resolvers-bundle": "^1.0",
106105
"proklung/pipeline-symfony": "^1.0",
107-
"proklung/base-exception": "^1.0"
106+
"proklung/base-exception": "^1.0",
107+
"proklung/db-command": "^1.0"
108108
},
109109
"require-dev": {
110110
"squizlabs/php_codesniffer": "2.*",

local/classes/Commands/Database/DbDrop.php

-111
This file was deleted.

local/classes/Commands/Database/DbExport.php

-144
This file was deleted.

0 commit comments

Comments
 (0)