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

[5.4] Add Schema to notifications.stub for consistency #17664

Merged
merged 1 commit into from
Jan 30, 2017
Merged

[5.4] Add Schema to notifications.stub for consistency #17664

merged 1 commit into from
Jan 30, 2017

Conversation

laurencei
Copy link
Contributor

@laurencei laurencei commented Jan 30, 2017

This adds use Illuminate\Support\Facades\Schema; to the stub file for notification tables.

This is for consistency - as every other stub migration generated by the framework includes this. Same as make:migration also includes this in all generated migration files.

The alternative - as it currently works without including the Facade - should we remove use Illuminate\Support\Facades\Schema; from all stubs instead? I tried it and it works on my fresh copy of 5.4 - but I wasnt sure if there might be unintended consequences (perhaps with namespaced migrations?)

@taylorotwell taylorotwell merged commit 89d770f into laravel:5.4 Jan 30, 2017
@GrahamCampbell GrahamCampbell changed the title Add Schema to notifications.stub for consistency [5.4] Add Schema to notifications.stub for consistency Jan 30, 2017
@KhaledSMQ KhaledSMQ mentioned this pull request Feb 2, 2017
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

Successfully merging this pull request may close these issues.

2 participants