mirror of
https://github.com/flarum/framework.git
synced 2025-02-06 14:07:32 +08:00
set prefixing indices to be done automatically, now that illuminate can take care of that
This commit is contained in:
parent
b5bc2b2e87
commit
1c7789683b
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user