Skip to content

Commit

Permalink
Set default string length
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Sep 2, 2017
1 parent 4df147c commit e0a6dd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace App\Providers;

use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
Expand All @@ -13,7 +14,7 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
//
Schema::defaultStringLength(191);
}

/**
Expand Down

0 comments on commit e0a6dd2

Please sign in to comment.