We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f0d805 commit dd3f000Copy full SHA for dd3f000
src/Functions/AbstractFunction.php
@@ -25,6 +25,9 @@ public function postgres()
25
throw new Exception('Postgres has not been implemented for this function.');
26
}
27
28
+ /**
29
+ * @return string
30
+ */
31
public function getName(): string
32
{
33
return Str::snake(class_basename($this));
src/ServiceProvider.php
@@ -27,7 +27,7 @@ public function boot()
*/
protected function registerFunctions(): void
- if ($this->app->environment('testing') && $this->app['db']->getDriverName() == 'sqlite') {
+ if ($this->app['db']->getDriverName() == 'sqlite') {
(new FunctionRegistrar)->register($this->app['db']->getPdo(), config('sqlite-functions.driver_to_mimic'));
0 commit comments