Navigation Menu

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.6] Pass table name to the post migration create hooks #24621

Merged
merged 1 commit into from Jun 18, 2018
Merged

[5.6] Pass table name to the post migration create hooks #24621

merged 1 commit into from Jun 18, 2018

Conversation

gauravmak
Copy link
Contributor

  • Developers can register post migration create hooks via afterCreate() currently.
  • They are called after creating the migration file.
  • Having an ability to receive the name of the table in the callback will be helpful and create more use cases.

@GrahamCampbell GrahamCampbell changed the title Pass table name to the post migration create hooks [5.6] Pass table name to the post migration create hooks Jun 18, 2018
@taylorotwell taylorotwell merged commit 5999d6e into laravel:5.6 Jun 18, 2018
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.

None yet

2 participants