mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-15 23:54:04 +00:00
Fix transactions
This commit is contained in:
parent
46609c5b0d
commit
c475e7a43d
11 changed files with 47 additions and 27 deletions
13
src/StorageDrivers/Database/CentralConnection.php
Normal file
13
src/StorageDrivers/Database/CentralConnection.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace Stancl\Tenancy\StorageDrivers\Database;
|
||||
|
||||
use Stancl\Tenancy\DatabaseManager;
|
||||
|
||||
trait CentralConnection
|
||||
{
|
||||
public function getConnectionName()
|
||||
{
|
||||
return app(DatabaseManager::class)->getCentralConnectionName();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue