Skip to content

Instantly share code, notes, and snippets.

@wannymiarelli
Last active July 25, 2019 13:22
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 wannymiarelli/0bde76d1e2206add9c863c14140e8eab to your computer and use it in GitHub Desktop.
Save wannymiarelli/0bde76d1e2206add9c863c14140e8eab to your computer and use it in GitHub Desktop.
<?php
namespace App\Providers;
use App\Services\TenantManager;
use App\Tenant;
use Illuminate\Support\ServiceProvider;
use Laravel\Passport\Passport;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
// This instruct Laravel to ignore passport migrations during php artisan migrate
Passport::ignoreMigrations();
// other code
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
//
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment