Skip to content

Commit 059a77e

Browse files
committed
set default string length of shema to 191
1 parent a4c7310 commit 059a77e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Providers/AppServiceProvider.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace App\Providers;
44

5+
use Illuminate\Support\Facades\Schema;
56
use Illuminate\Support\ServiceProvider;
67

78
class AppServiceProvider extends ServiceProvider
@@ -23,6 +24,6 @@ public function register()
2324
*/
2425
public function boot()
2526
{
26-
//
27+
Schema::defaultStringLength(191);
2728
}
2829
}

0 commit comments

Comments
 (0)