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

[10.x] fix migration creator to validated existing migration class #292

Closed
wants to merge 1 commit into from

Conversation

rawaby88
Copy link

while the new migrations class now are anonymous classes
the method ensureMigrationDoesntAlreadyExist doesn't validate anymore the class name

  • Added error message to console ex:
    ERROR A 2014_10_12_000000_create_users_table class already exists.
    before it was showing an exception

…added error message to console than showing an exception when migration class already exits
@github-actions
Copy link

Thank you for your pull request. However, you have submitted this PR on the Illuminate organization which is a read-only sub split of laravel/framework. Please submit your PR on the https://github.com/laravel/framework repository.

Thanks!

@github-actions github-actions bot closed this May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant