mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 12:10:10 +08:00
Remove MyISAM Requirement (#2442)
- Remove Database Engine Default of InnoDB - Remove Hard Coded MyISAM requirement
This commit is contained in:
parent
63675c81d6
commit
b1f166d82a
|
@ -30,8 +30,6 @@ return [
|
|||
$table->integer('hide_user_id')->unsigned()->nullable();
|
||||
|
||||
$table->unique(['discussion_id', 'number']);
|
||||
|
||||
$table->engine = 'MyISAM';
|
||||
});
|
||||
|
||||
$connection = $schema->getConnection();
|
||||
|
|
|
@ -47,7 +47,7 @@ class DatabaseConfig implements Arrayable
|
|||
'collation' => 'utf8mb4_unicode_ci',
|
||||
'prefix' => $this->prefix,
|
||||
'strict' => false,
|
||||
'engine' => 'InnoDB',
|
||||
'engine' => null,
|
||||
'prefix_indexes' => true
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user