Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Olanrewaju Olajide Olubodun
Added: May 18, 2018 4:12 PM
Views: 15
Tags: no tags
  1. <?php
  2.  
  3. namespace App\Providers;
  4.  
  5. use Illuminate\Support\ServiceProvider;
  6. use Illuminate\Support\Facades\Schema;
  7.  
  8. class AppServiceProvider extends ServiceProvider
  9. {
  10.     /**
  11.      * Bootstrap any application services.
  12.      *
  13.      * @return void
  14.      */
  15.     public function boot()
  16.     {
  17.         Schema::defaultStringLength(191);
  18.     }
  19.  
  20.     /**
  21.      * Register any application services.
  22.      *
  23.      * @return void
  24.      */
  25.     public function register()
  26.     {
  27.         //
  28.     }
  29. }
  30.