1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 20:14:04 +00:00

Add readied tenants

Add config for readied tenants
Add `create` and `clear` command
Add Readied scope and static functions
Add tests
This commit is contained in:
j.stein 2022-01-17 09:55:44 +01:00
parent f08e33afd8
commit 065e74c9be
12 changed files with 526 additions and 2 deletions

View file

@ -7,9 +7,10 @@ namespace Stancl\Tenancy\Tests\Etc;
use Stancl\Tenancy\Contracts\TenantWithDatabase;
use Stancl\Tenancy\Database\Concerns\HasDatabase;
use Stancl\Tenancy\Database\Concerns\HasDomains;
use Stancl\Tenancy\Database\Concerns\WithReadied;
use Stancl\Tenancy\Database\Models;
class Tenant extends Models\Tenant implements TenantWithDatabase
{
use HasDatabase, HasDomains;
use HasDatabase, HasDomains, WithReadied;
}