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