1
0
mirror of https://github.com/flarum/core.git synced 2025-10-23 04:36:08 +02:00

Set InnoDB for DB connection and new tables

Refs #1661.
This commit is contained in:
Franz Liedke
2018-11-29 23:21:58 +01:00
parent 57f73c9638
commit fb6b51b1cf
2 changed files with 3 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ abstract class Migration
'up' => function (Builder $schema) use ($name, $definition) {
$schema->create($name, function (Blueprint $table) use ($schema, $definition) {
$definition($table);
$table->engine = 'InnoDB';
static::fixIndexNames($schema, $table);
});