mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-15 15:14:03 +00:00
Fix event listener tests, improve domain logic
This commit is contained in:
parent
0bbc66f451
commit
a602cec940
13 changed files with 148 additions and 14 deletions
11
src/Database/Models/Concerns/TenantConnection.php
Normal file
11
src/Database/Models/Concerns/TenantConnection.php
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
namespace Stancl\Tenancy\Database\Models\Concerns;
|
||||
|
||||
trait TenantConnection
|
||||
{
|
||||
public function getConnectionName()
|
||||
{
|
||||
return 'tenant';
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue