Skip to content

Commit 1c03e9a

Browse files
committed
Updates readme
1 parent ceb0b8c commit 1c03e9a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,5 +191,17 @@ class AppServiceProvider extends ServiceProvider
191191
}
192192
}
193193
```
194+
You may set an optional `scope-driver` config key is you wish to force a specific scope driver to be used.
195+
196+
```php
197+
'models' => [
198+
App\Job::class => [
199+
'lat-column' => 'custom-lat-column-name',
200+
'long-column' => 'custom-long-column-name',
201+
'units' => 'meters',
202+
'scope-driver' => 'mysql'
203+
]
204+
]
205+
```
194206

195207
**If you create a custom scope driver, please consider putting in a pull Request to add it to the package so it may be used by others.**

0 commit comments

Comments
 (0)