Skip to content
Permalink
Browse files

数据库微调

  • Loading branch information
WangNingkai committed Jun 22, 2019
1 parent 1ee5928 commit cc10b2238bae12ee5e25a2ef51ff8a26b9a07bfe
@@ -3,6 +3,7 @@
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Schema;
class AppServiceProvider extends ServiceProvider
{
@@ -14,6 +15,7 @@ class AppServiceProvider extends ServiceProvider
public function boot()
{
//
Schema::defaultStringLength(191);
}
/**
@@ -16,7 +16,7 @@ public function up()
Schema::create('settings', function (Blueprint $table) {
$table->integerIncrements('id');
$table->string('name');
$table->mediumText('value')->default('');
$table->mediumText('value');
});
}

0 comments on commit cc10b22

Please sign in to comment.
You can’t perform that action at this time.