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 63675c81d6
commit b1f166d82a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

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

View File

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