Skip to content

Instantly share code, notes, and snippets.

@ahuggins
Created February 26, 2017 03:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahuggins/45b712e99c157bd7ed434463f8dc9d57 to your computer and use it in GitHub Desktop.
Save ahuggins/45b712e99c157bd7ed434463f8dc9d57 to your computer and use it in GitHub Desktop.
Voyager + Laravel 5.4
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Schema::defaultStringLength(191);
}
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment