mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-05-15 20:47:33 +08:00
update migrations to support pg
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
$config = require ROOT_PATH . 'config/nexus.php';
|
||||
$connectionMysql = $config['mysql'];
|
||||
\Nexus\Database\NexusDB::bootEloquent($connectionMysql);
|
||||
$dbConfig = nexus_config('nexus.database');
|
||||
$config = $dbConfig['connections'][$dbConfig['default']];
|
||||
\Nexus\Database\NexusDB::bootEloquent($config);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user