Unified database configuration and updated admin dependencies

This commit is contained in:
xiaomlove
2022-06-10 17:58:30 +08:00
parent 0545d318c9
commit 60f57fb300
56 changed files with 970 additions and 652 deletions

View File

@@ -2,9 +2,6 @@
$config = require ROOT_PATH . 'config/nexus.php';
$connectionMysql = $config['mysql'];
$connectionMysql['driver'] = 'mysql';
$connectionMysql['charset'] = 'utf8mb4';
$connectionMysql['collation'] = 'utf8mb4_unicode_ci';
\Nexus\Database\NexusDB::bootEloquent($connectionMysql);