Skip to content

Commit bb89e8c

Browse files
authored
Merge pull request #837 from utopia-php/chore/remove-databases
2 parents 3a753ae + 4167bbc commit bb89e8c

File tree

11 files changed

+153
-96
lines changed

11 files changed

+153
-96
lines changed

bin/cli.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require_once '/usr/src/code/vendor/autoload.php';
44

55
use Utopia\CLI\CLI;
6-
use Utopia\CLI\Console;
6+
use Utopia\Console;
77

88
ini_set('memory_limit', '-1');
99

bin/tasks/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Utopia\Cache\Adapter\None as NoCache;
99
use Utopia\Cache\Cache;
1010
use Utopia\CLI\CLI;
11-
use Utopia\CLI\Console;
11+
use Utopia\Console;
1212
use Utopia\Database\Adapter\MariaDB;
1313
use Utopia\Database\Adapter\MySQL;
1414
use Utopia\Database\Adapter\Postgres;

bin/tasks/load.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use Swoole\Database\PDOPool;
77
use Utopia\Cache\Adapter\None as NoCache;
88
use Utopia\Cache\Cache;
9-
use Utopia\CLI\Console;
9+
use Utopia\Console;
1010
use Utopia\Database\Adapter\MariaDB;
1111
use Utopia\Database\Adapter\MySQL;
1212
use Utopia\Database\Adapter\Postgres;

bin/tasks/operators.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
use Utopia\Cache\Adapter\None as NoCache;
2121
use Utopia\Cache\Cache;
22-
use Utopia\CLI\Console;
22+
use Utopia\Console;
2323
use Utopia\Database\Adapter\MariaDB;
2424
use Utopia\Database\Adapter\MySQL;
2525
use Utopia\Database\Adapter\Postgres;

bin/tasks/query.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Utopia\Cache\Adapter\None as NoCache;
1010
use Utopia\Cache\Cache;
1111
use Utopia\CLI\CLI;
12-
use Utopia\CLI\Console;
12+
use Utopia\Console;
1313
use Utopia\Database\Adapter\MariaDB;
1414
use Utopia\Database\Adapter\MySQL;
1515
use Utopia\Database\Adapter\Postgres;

bin/tasks/relationships.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Swoole\Database\PDOPool;
1010
use Utopia\Cache\Adapter\None as NoCache;
1111
use Utopia\Cache\Cache;
12-
use Utopia\CLI\Console;
12+
use Utopia\Console;
1313
use Utopia\Database\Adapter\MariaDB;
1414
use Utopia\Database\Adapter\MySQL;
1515
use Utopia\Database\Adapter\Postgres;

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"ext-pdo": "*",
3838
"ext-mongodb": "*",
3939
"ext-mbstring": "*",
40-
"utopia-php/framework": "0.33.*",
40+
"utopia-php/validators": "0.2.*",
41+
"utopia-php/console": "0.1.*",
4142
"utopia-php/cache": "1.*",
4243
"utopia-php/pools": "1.*",
4344
"utopia-php/mongo": "1.*"
@@ -47,7 +48,7 @@
4748
"phpunit/phpunit": "9.*",
4849
"pcov/clobber": "2.*",
4950
"swoole/ide-helper": "5.1.3",
50-
"utopia-php/cli": "0.14.*",
51+
"utopia-php/cli": "0.22.*",
5152
"laravel/pint": "*",
5253
"phpstan/phpstan": "1.*",
5354
"rregeer/phpunit-coverage-check": "0.3.*"

composer.lock

Lines changed: 141 additions & 85 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)