Add max strength length to AppServiceProvier.php

This commit is contained in:
Matthew Shillam 2018-10-13 16:48:11 +01:00
parent ec33c26cdc
commit b82f576977
1 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
// Import Schema
use Illuminate\Support\Facades\Schema;
class AppServiceProvider extends ServiceProvider
{
@ -13,7 +15,7 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
//
Schema::defaultStringLength(191);
}
/**