Browse Source

change default string length

master
Aaron Parecki 7 years ago
parent
commit
e92dd5d2f4
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/Providers/AppServiceProvider.php

+ 2
- 0
app/Providers/AppServiceProvider.php View File

@ -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);
}
/**

Loading…
Cancel
Save