Skip to content

Commit f70856c

Browse files
author
xiewnet
committed
fix(core): 修复索引超过长度限制的问题
1 parent cd8f90e commit f70856c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/migrations/2018_08_07_080904_create_settings_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public function up()
3131
{
3232
Schema::create('settings', function (Blueprint $table) {
3333
$table->increments('id');
34-
$table->string('namespace', 150)->comment('配置命名空间');
35-
$table->string('name', 150)->comment('配置名称');
34+
$table->string('namespace', 125)->comment('配置命名空间');
35+
$table->string('name', 125)->comment('配置名称');
3636
$table->text('contents')->nullable()->comment('配置数据');
3737
$table->timestamps();
3838

0 commit comments

Comments
 (0)