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

fix publishing migration error + fix migration duplication every sing… #4

Merged

Conversation

Moustafa-Alwakil
Copy link
Contributor

@Moustafa-Alwakil Moustafa-Alwakil commented Nov 25, 2024

fix publishing migration error + fix migration duplication every single publish

  • migration error: "Can't locate path: <vendor/tamkeen-tech/laravel-enum-state-machine/src/Providers/../database/migrations/create_state_histories_table.php.stub>"

  • migration duplication: every single time you try to publish the migration it will publish a new migration file with different timestamp, so the solution was checking if the file already exists.

…le publish

- migration error: "Can't locate path: <vendor/tamkeen-tech/laravel-enum-state-machine/src/Providers/../database/migrations/create_state_histories_table.php.stub>"

- migration duplication: every single time you try to publish the migration it will publish a new migration file with different timestamp, so the solution was checking if the file already exists.
@shreifelagamy shreifelagamy merged commit b9ba710 into TamkeenTech:main Nov 26, 2024
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