mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 23:23:52 +08:00
parent
386663ef53
commit
aae8aa4a51
|
@ -25,6 +25,9 @@ jobs:
|
|||
- php: 7.2
|
||||
env: DB=mysql
|
||||
|
||||
- php: 7.2
|
||||
env: DB=mysql PREFIX=forum_
|
||||
|
||||
- php: 7.1
|
||||
addons:
|
||||
mariadb: '10.2'
|
||||
|
|
|
@ -89,6 +89,7 @@ trait CreatesForum
|
|||
$database['database'] = env('DB_DATABASE', $database['database']);
|
||||
$database['username'] = env('DB_USERNAME', $database['username']);
|
||||
$database['password'] = env('DB_PASSWORD', $database['password']);
|
||||
$database['prefix'] = env('DB_PREFIX', $database['prefix']);
|
||||
$this->configuration->setDatabaseConfiguration($database);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user