MIF_E31222691/config
Ben Johnson 195a7e0374
Replace schema with search_path in pgsql config (#5726)
Per https://github.com/laravel/framework/pull/35588 , the term "schema" (a namespace) has been corrected to "search_path" (a list of namespaces), where appropriate, throughout the framework.

Accordingly, the `schema` configuration key should be changed to `search_path` to better reflect the fact that it may specify a _list_ of schemata (schemas), and not just a single schema. (In several Laravel versions prior to 9.0, the `schema` key could already specify more than one schema, but this fact was undocumented and non-obvious without examining the implementation carefully.)

As of Laravel 9.0, the `search_path` may specify any number of schemata, in any of the following formats:

'search_path' => 'public',
'search_path' => 'public,laravel',
'search_path' => ['public', '"laravel"', "'foobar'", '$bat'],
'search_path' => '\'public\', "laravel", "\'foobar\'", \'$bat\'',
'search_path' => '"$user", public',

Note that in the last example, the `$user` variable refers to PostgreSQL's special $user variable, as described in the Schema Documentation ( https://www.postgresql.org/docs/current/ddl-schemas.html ).

Note also that Laravel's default `search_path` value, 'public', is not necessarily the best choice for every use case. Developers should consult the "Usage Patterns" section of the aforementioned documentation before deciding how best to set the `search_path`, as it has security implications.
2021-11-16 08:26:41 -06:00
..
app.php add facade 2021-11-09 09:56:25 -06:00
auth.php [8.x] Sanctum (#5663) 2021-08-11 13:44:34 -05:00
broadcasting.php add "ably" in comment as a broadcast connection (#5531) 2021-02-06 18:35:22 -06:00
cache.php wip 2021-05-14 10:09:46 -05:00
cors.php add sanctum cookie endpoint to default cors paths 2020-11-10 14:18:52 -06:00
database.php Replace schema with search_path in pgsql config (#5726) 2021-11-16 08:26:41 -06:00
filesystems.php Merge branch '8.x' 2021-06-01 17:49:55 +02:00
hashing.php Revert "According to PHP Bug 78516 Argon2 requires at least 8KB (#5097)" (#5102) 2019-09-11 14:10:18 +02:00
logging.php [8.x] Logs deprecations instead of treating them as exceptions (#5711) 2021-10-19 08:42:24 -05:00
mail.php fix conflicts 2021-10-02 10:47:56 -05:00
queue.php Add missing 'after_commit' attribute (#5554) 2021-03-09 08:51:56 -06:00
sanctum.php [8.x] Sanctum (#5663) 2021-08-11 13:44:34 -05:00
services.php formatting 2019-08-14 09:19:31 -05:00
session.php [8.x] Fixed grammar mistake (#5611) 2021-05-17 08:15:26 -05:00
view.php remove config entry 2020-03-06 07:57:18 -06:00