database group

This commit is contained in:
CHIEFSOFT\ameye
2025-08-31 21:27:22 -04:00
parent 7cc5ed6c08
commit af5ea18685
+25
View File
@@ -46,6 +46,28 @@ class Database extends Config
],
];
public array $production = [
'DSN' => '',
'hostname' => '10.13.3.60',
'username' => 'merms_panel',
'password' => 'merms_panel',
'database' => 'merms_panel',
'schema' => 'public',
'DBDriver' => 'Postgre',
'DBPrefix' => '',
'pConnect' => false,
'DBDebug' => true,
'charset' => 'utf8',
'swapPre' => '',
'failover' => [],
'port' => 5432,
'dateFormat' => [
'date' => 'Y-m-d',
'datetime' => 'Y-m-d H:i:s',
'time' => 'H:i:s',
],
];
public array $default_old = [
'DSN' => '',
'hostname' => 'localhost',
@@ -219,5 +241,8 @@ class Database extends Config
if (ENVIRONMENT === 'testing') {
$this->defaultGroup = 'tests';
}
if(ENVIRONMENT == 'production'){
$this->defaultGroup ='production';
}
}
}