mirror of
https://github.com/flarum/framework.git
synced 2025-01-30 22:38:43 +08:00
Remove MyISAM Requirement (#2442)
- Remove Database Engine Default of InnoDB - Remove Hard Coded MyISAM requirement
This commit is contained in:
parent
0c15257b24
commit
bc0ed8803d
|
@ -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();
|
||||||
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user