Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"php artisan make:migration:pivot" didn't add "use Illuminate\Support\Facades\Schema;" automatically #187

Open
amirmojiry opened this issue Aug 24, 2020 · 1 comment

Comments

@amirmojiry
Copy link

  • Laravel Version: 7.2.4
  • PHP Version: 7.4
  • Laravel-5-Generators-Extended Version: 1.1
  • Command: php artisan make:migration:pivot tableOne tableTwo

What I did

I executed this command:
php artisan make:migration:pivot tableOne tableTwo

What I expected to happen and what happened

I expected this line, automatically add to above of migration file:

use Illuminate\Support\Facades\Schema;

However this didn't happen.

@mellester
Copy link

Had the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants