1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 21:54:03 +00:00

Restructure config

This commit is contained in:
Samuel Štancl 2020-05-21 15:05:05 +02:00
parent 15a7e52208
commit fbe43fbb04
10 changed files with 57 additions and 47 deletions

View file

@ -6,6 +6,6 @@ trait CentralConnection
{
public function getConnectionName()
{
return config('tenancy.central_connection');
return config('tenancy.database.central_connection');
}
}

View file

@ -121,6 +121,8 @@ trait HasDataColumn
public static function getCustomColums(): array
{
return array_merge(['id'], config('tenancy.custom_columns'));
return [
'id',
];
}
}