1
0
Fork 0
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:
IWT 2020-11-19 20:15:59 +07:00
parent 126afcd0dd
commit 5ef225762f
4 changed files with 51 additions and 1 deletions

View file

@ -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];
}
}