Remove MyISAM Requirement (#2442)

- Remove Database Engine Default of InnoDB
- Remove Hard Coded MyISAM requirement
This commit is contained in:
Adam Hosker 2021-04-09 13:13:47 +01:00 committed by GitHub
parent 0c15257b24
commit bc0ed8803d
2 changed files with 1 additions and 3 deletions

View File

@ -30,8 +30,6 @@ return [
$table->integer('hide_user_id')->unsigned()->nullable(); $table->integer('hide_user_id')->unsigned()->nullable();
$table->unique(['discussion_id', 'number']); $table->unique(['discussion_id', 'number']);
$table->engine = 'MyISAM';
}); });
$connection = $schema->getConnection(); $connection = $schema->getConnection();

View File

@ -47,7 +47,7 @@ class DatabaseConfig implements Arrayable
'collation' => 'utf8mb4_unicode_ci', 'collation' => 'utf8mb4_unicode_ci',
'prefix' => $this->prefix, 'prefix' => $this->prefix,
'strict' => false, 'strict' => false,
'engine' => 'InnoDB', 'engine' => null,
'prefix_indexes' => true 'prefix_indexes' => true
]; ];
} }