Skip to content

Commit 79c7842

Browse files
committed
chore: update alchemy
1 parent c64d939 commit 79c7842

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

tests/Pest.php

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,23 @@ function getDatabaseConnection(): array
1010
{
1111
return [
1212
'dbtype' => 'pgsql',
13-
'port' => '5432',
14-
'host' => 'ep-autumn-block-a28alwsy.eu-central-1.aws.neon.tech',
15-
'username' => 'sandbox_owner',
16-
'password' => 'WH1qpBIf7LYc',
17-
'dbname' => 'sandbox',
13+
'port' => '6543',
14+
'host' => 'aws-1-eu-west-2.pooler.supabase.com',
15+
'username' => 'postgres.vljhbheaihorcnvlkljw',
16+
'password' => 'DV!GE7Aq6C8F55g',
17+
'dbname' => 'postgres',
1818
];
1919
}
2020

2121
function dbInstance(): \Leaf\Db
2222
{
2323
$db = new \Leaf\Db();
24-
$db->connect(getDatabaseConnection());
24+
25+
try {
26+
$db->connect(getDatabaseConnection());
27+
} catch (\Throwable $th) {
28+
throw $th;
29+
}
2530

2631
return $db;
2732
}

0 commit comments

Comments
 (0)