Skip to content

[5.2] Prevent make:migration from creating duplicate classes#14432

Merged
taylorotwell merged 1 commit intolaravel:5.2from
drewrichards:5.2
Jul 24, 2016
Merged

[5.2] Prevent make:migration from creating duplicate classes#14432
taylorotwell merged 1 commit intolaravel:5.2from
drewrichards:5.2

Conversation

@drewrichards
Copy link
Copy Markdown

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