mirror of
https://github.com/flarum/core.git
synced 2025-08-11 10:55:47 +02:00
Explicitly specify length for string columns.
The missing length attributes caused problems with too long indices.
This commit is contained in:
@@ -20,7 +20,7 @@ class CreatePostsTable extends Migration {
|
||||
|
||||
$table->dateTime('time');
|
||||
$table->integer('user_id')->unsigned()->nullable();
|
||||
$table->string('type')->nullable();
|
||||
$table->string('type', 100)->nullable();
|
||||
$table->text('content')->nullable();
|
||||
$table->text('content_html')->nullable();
|
||||
|
||||
|
Reference in New Issue
Block a user