Explicitly create tags table with InnoDB engine

Refs flarum/core#1675.
This commit is contained in:
Franz Liedke 2018-12-04 10:20:22 +01:00
parent 6ccb297af4
commit b8b72e51af

View File

@ -33,6 +33,8 @@ return [
$table->integer('discussions_count')->unsigned()->default(0); $table->integer('discussions_count')->unsigned()->default(0);
$table->dateTime('last_time')->nullable(); $table->dateTime('last_time')->nullable();
$table->integer('last_discussion_id')->unsigned()->nullable(); $table->integer('last_discussion_id')->unsigned()->nullable();
$table->engine = 'InnoDB';
}); });
$schema->getConnection()->table('tags')->insert([ $schema->getConnection()->table('tags')->insert([