mirror of
https://github.com/flarum/framework.git
synced 2025-04-26 06:34:06 +08:00
set prefixing indices to be done automatically, now that illuminate can take care of that
This commit is contained in:
parent
54fdc40d87
commit
1b2d4f1e1d
@ -30,6 +30,7 @@ class DatabaseServiceProvider extends AbstractServiceProvider
|
|||||||
|
|
||||||
$dbConfig = $this->app->config('database');
|
$dbConfig = $this->app->config('database');
|
||||||
$dbConfig['engine'] = 'InnoDB';
|
$dbConfig['engine'] = 'InnoDB';
|
||||||
|
$dbConfig['prefix_indexes'] = true;
|
||||||
$connection = $factory->make($dbConfig);
|
$connection = $factory->make($dbConfig);
|
||||||
$connection->setEventDispatcher($this->app->make(Dispatcher::class));
|
$connection->setEventDispatcher($this->app->make(Dispatcher::class));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user