mirror of
https://github.com/flarum/core.git
synced 2025-08-06 08:27:42 +02:00
chore(testing): use sqlite by default
This commit is contained in:
@@ -38,7 +38,7 @@ class SetupScript
|
|||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->driver = getenv('DB_DRIVER') ?: 'mysql';
|
$this->driver = getenv('DB_DRIVER') ?: 'sqlite';
|
||||||
$this->host = getenv('DB_HOST') ?: 'localhost';
|
$this->host = getenv('DB_HOST') ?: 'localhost';
|
||||||
$this->port = intval(getenv('DB_PORT') ?: match ($this->driver) {
|
$this->port = intval(getenv('DB_PORT') ?: match ($this->driver) {
|
||||||
'mysql', 'mariadb' => 3306,
|
'mysql', 'mariadb' => 3306,
|
||||||
|
Reference in New Issue
Block a user