diff --git a/app/Config/Auth.php b/app/Config/Auth.php index 1d5274b..bde061f 100644 --- a/app/Config/Auth.php +++ b/app/Config/Auth.php @@ -384,7 +384,7 @@ class Auth extends ShieldAuth * Customize the DB group used for each model * -------------------------------------------------------------------- */ - public ?string $DBGroup = null; + public ?string $DBGroup = 'verwaltung'; /** * -------------------------------------------------------------------- diff --git a/app/Config/Database.php b/app/Config/Database.php index 48b4778..09e39a8 100644 --- a/app/Config/Database.php +++ b/app/Config/Database.php @@ -25,10 +25,30 @@ class Database extends Config * @var array */ public $default = [ - 'hostname' => '192.168.16.14', + 'hostname' => '192.168.16.13', 'database' => 'mawim', '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', 'port' => 5432, 'charset' => 'utf8',