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

Merge branch 'saas' of github.com:stancl/tenancy into saas

This commit is contained in:
Samuel Štancl 2019-10-25 19:01:59 +02:00
commit ae873a3b4b

View file

@ -83,7 +83,7 @@ class DatabaseStorageDriver implements StorageDriver
{
// [WIP] [TODO] Temporary implementation, key has to be a custom column.
$tenant = Tenant::where($key, $value)->first();
if (! $tenant) {
throw new TenantDoesNotExistException($value, $key);
}
@ -235,4 +235,4 @@ class TenantModelTODO
class DomainModelTODO
{
// TODO Use this w/ DB builder calls instead of an Eloquent model
}
}