diff --git a/framework/core/migrations/2015_02_24_000000_create_posts_table.php b/framework/core/migrations/2015_02_24_000000_create_posts_table.php index 16c2a0ae8..47c4bb0f7 100644 --- a/framework/core/migrations/2015_02_24_000000_create_posts_table.php +++ b/framework/core/migrations/2015_02_24_000000_create_posts_table.php @@ -30,8 +30,6 @@ return [ $table->integer('hide_user_id')->unsigned()->nullable(); $table->unique(['discussion_id', 'number']); - - $table->engine = 'MyISAM'; }); $connection = $schema->getConnection(); diff --git a/framework/core/src/Install/DatabaseConfig.php b/framework/core/src/Install/DatabaseConfig.php index 479da0406..89ac46ed5 100644 --- a/framework/core/src/Install/DatabaseConfig.php +++ b/framework/core/src/Install/DatabaseConfig.php @@ -47,7 +47,7 @@ class DatabaseConfig implements Arrayable 'collation' => 'utf8mb4_unicode_ci', 'prefix' => $this->prefix, 'strict' => false, - 'engine' => 'InnoDB', + 'engine' => null, 'prefix_indexes' => true ]; }