mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
Explicitly specify length for string columns.
The missing length attributes caused problems with too long indices.
This commit is contained in:
@@ -14,7 +14,7 @@ class CreateConfigTable extends Migration {
|
||||
{
|
||||
Schema::create('config', function(Blueprint $table)
|
||||
{
|
||||
$table->string('key')->primary();
|
||||
$table->string('key', 100)->primary();
|
||||
$table->binary('value')->nullable();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user