Skip to content

Commit

Permalink
Update ManagedDatabases.php
Browse files Browse the repository at this point in the history
  • Loading branch information
inmanturbo authored Feb 11, 2024
1 parent d4d515e commit 9ede4a7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/ManagedDatabases.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@

class ManagedDatabases
{

public static function configureTestConnections()
{
config('database.connections.testing_platform'=> [
array_merge(config('database.connections.sqlite'), ['database'=> ':memory:']);
]);


config('database.connections.testing_app'=> [
array_merge(config('database.connections.sqlite'), ['database'=> ':memory:']);
]);
}
public static function configureManagerConnections()
{
config(['database.connections.manager_sqlite' => array_merge(
Expand Down

0 comments on commit 9ede4a7

Please sign in to comment.