Neuer User für Verwaltung

This commit is contained in:
Markus
2026-10-06 00:25:01 +02:00
parent 6c03f2885e
commit bff75d5011
2 changed files with 23 additions and 3 deletions

View File

@@ -384,7 +384,7 @@ class Auth extends ShieldAuth
* Customize the DB group used for each model * Customize the DB group used for each model
* -------------------------------------------------------------------- * --------------------------------------------------------------------
*/ */
public ?string $DBGroup = null; public ?string $DBGroup = 'verwaltung';
/** /**
* -------------------------------------------------------------------- * --------------------------------------------------------------------

View File

@@ -25,10 +25,30 @@ class Database extends Config
* @var array<string, mixed> * @var array<string, mixed>
*/ */
public $default = [ public $default = [
'hostname' => '192.168.16.14', 'hostname' => '192.168.16.13',
'database' => 'mawim', 'database' => 'mawim',
'username' => 'finanzen', 'username' => 'finanzen',
'password' => '/mA!FZ22Wi', 'password' => '/mW!FZ26DB',
'schema' => 'finanzen',
'port' => 5432,
'charset' => 'utf8',
'DBDriver' => 'Postgre',
'DBDebug' => false,
'swapPre' => '',
'failover' => [],
'dateFormat' => [
'date' => 'Y-m-d',
'datetime' => 'Y-m-d H:i:s',
'time' => 'H:i:s',
],
];
public $verwaltung = [
'hostname' => 'localhost',
'database' => 'mawim',
'username' => 'security',
'password' => '/mA!Admin26',
'schema' => 'finanzen,verwaltung', 'schema' => 'finanzen,verwaltung',
'port' => 5432, 'port' => 5432,
'charset' => 'utf8', 'charset' => 'utf8',