Update AppServiceProvider

Closes #107
pull/86/head^2
Daniel Supernault 8 years ago
parent 586329b6d9
commit 93129fe39f

@ -6,6 +6,7 @@ use App\User;
use Auth, Horizon;
use App\Observers\UserObserver;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
@ -17,6 +18,8 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
Schema::defaultStringLength(191);
User::observe(UserObserver::class);
Horizon::auth(function ($request) {

Loading…
Cancel
Save