mirror of
https://github.com/flarum/core.git
synced 2025-08-12 19:34:18 +02:00
Explicitly specify length for string columns.
The missing length attributes caused problems with too long indices.
This commit is contained in:
@@ -15,7 +15,7 @@ class CreateDiscussionsTable extends Migration {
|
||||
Schema::create('discussions', function(Blueprint $table)
|
||||
{
|
||||
$table->increments('id');
|
||||
$table->string('title');
|
||||
$table->string('title', 200);
|
||||
$table->integer('comments_count')->unsigned()->default(0);
|
||||
$table->integer('number_index')->unsigned()->default(0);
|
||||
|
||||
|
Reference in New Issue
Block a user