set prefixing indices to be done automatically, now that illuminate can take care of that

This commit is contained in:
Daniël Klabbers 2019-01-15 20:49:33 +01:00
parent b5bc2b2e87
commit 1c7789683b

View File

@ -30,6 +30,7 @@ class DatabaseServiceProvider extends AbstractServiceProvider
$dbConfig = $this->app->config('database');
$dbConfig['engine'] = 'InnoDB';
$dbConfig['prefix_indexes'] = true;
$connection = $factory->make($dbConfig);
$connection->setEventDispatcher($this->app->make(Dispatcher::class));