mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 21:54:03 +00:00
Restructure config
This commit is contained in:
parent
15a7e52208
commit
fbe43fbb04
10 changed files with 57 additions and 47 deletions
|
|
@ -6,6 +6,6 @@ trait CentralConnection
|
|||
{
|
||||
public function getConnectionName()
|
||||
{
|
||||
return config('tenancy.central_connection');
|
||||
return config('tenancy.database.central_connection');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -121,6 +121,8 @@ trait HasDataColumn
|
|||
|
||||
public static function getCustomColums(): array
|
||||
{
|
||||
return array_merge(['id'], config('tenancy.custom_columns'));
|
||||
return [
|
||||
'id',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue