mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 21:54:02 +00:00
add --only-selected option for tenants:migrate command
This commit is contained in:
parent
126afcd0dd
commit
5ef225762f
4 changed files with 51 additions and 1 deletions
|
|
@ -12,4 +12,9 @@ use Stancl\Tenancy\Database\Models;
|
|||
class Tenant extends Models\Tenant implements TenantWithDatabase
|
||||
{
|
||||
use HasDatabase, HasDomains;
|
||||
|
||||
public function getTheFirstOne(array $tenantIDs = [])
|
||||
{
|
||||
return $tenantIDs[0];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue