mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 16:24:04 +00:00
Bootstrapper tests
This commit is contained in:
parent
73fc525126
commit
6f4b9f486c
20 changed files with 266 additions and 79 deletions
|
|
@ -4,8 +4,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Stancl\Tenancy\Contracts;
|
||||
|
||||
use Stancl\Tenancy\Tenant;
|
||||
|
||||
interface TenantDatabaseManager
|
||||
{
|
||||
/**
|
||||
|
|
@ -18,12 +16,12 @@ interface TenantDatabaseManager
|
|||
/**
|
||||
* Create a database.
|
||||
*/
|
||||
public function createDatabase(Tenant $tenant): bool;
|
||||
public function createDatabase(TenantWithDatabase $tenant): bool;
|
||||
|
||||
/**
|
||||
* Delete a database.
|
||||
*/
|
||||
public function deleteDatabase(Tenant $tenant): bool;
|
||||
public function deleteDatabase(TenantWithDatabase $tenant): bool;
|
||||
|
||||
/**
|
||||
* Does a database exist.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue