mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 22:04:04 +00:00
Apply fixes suggested by @carlos-mora
This commit is contained in:
parent
429b1779f5
commit
f073926cfb
3 changed files with 11 additions and 7 deletions
|
|
@ -20,12 +20,12 @@ class Tenant extends Model
|
|||
|
||||
public function dataColumn()
|
||||
{
|
||||
return config('tenancy.db_storage.data_column');
|
||||
return config('tenancy.db_storage.data_column', 'data');
|
||||
}
|
||||
|
||||
public function customColumns()
|
||||
{
|
||||
return config('tenancy.db_storage.custom_columns');
|
||||
return config('tenancy.db_storage.custom_columns', []);
|
||||
}
|
||||
|
||||
public function getFromData(string $key)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue