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.2] Prevent make:migration from creating duplicate classes #14432

Merged
merged 1 commit into from
Jul 24, 2016

Conversation

drewrichards
Copy link

I recently ran into some headaches because two migrations created with the artisan make:migration command had the same class names. This small change causes make:migration to throw an exception if the class it would create already exists.

@GrahamCampbell GrahamCampbell changed the title Prevent make:migration from creating duplicate classes [5.2] Prevent make:migration from creating duplicate classes Jul 23, 2016
@taylorotwell taylorotwell merged commit 49002cf into laravel:5.2 Jul 24, 2016
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.

3 participants