mirror of
https://github.com/flarum/core.git
synced 2025-07-29 20:50:28 +02:00
Do not create tables as InnoDB automatically, rely on connection default
As argued in #1675, this makes us slightly less reliant on MySQL.
This commit is contained in:
@@ -31,7 +31,6 @@ abstract class Migration
|
|||||||
'up' => function (Builder $schema) use ($name, $definition) {
|
'up' => function (Builder $schema) use ($name, $definition) {
|
||||||
$schema->create($name, function (Blueprint $table) use ($schema, $definition) {
|
$schema->create($name, function (Blueprint $table) use ($schema, $definition) {
|
||||||
$definition($table);
|
$definition($table);
|
||||||
$table->engine = 'InnoDB';
|
|
||||||
|
|
||||||
static::fixIndexNames($schema, $table);
|
static::fixIndexNames($schema, $table);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user