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

Use migration command to construct log message #254

Merged

Conversation

harimohanraj89
Copy link
Contributor

Summary

This is a follow-up to #242 , which introduced the migration_command configuration option. It's a great option that we're keen to use (as we use data migrations in our project). When upgrading, I noticed that the informational log message still says "Running rake db:migrate", even if a different migration command is provided.

This PR updates the log message to also dynamically print a message based on the provided migration command.

Short checklist

  • If you are fixing a bug or introducing a new feature, did you add a CHANGELOG entry?

Other Information

☝️ I'm not sure where to make the CHANGELOG entry. If you could point me in the right direction, I can add a note about this change to the appropriate CHANGELOG, thanks!

@mattbrictson
Copy link
Member

Looks good, thanks for catching this!

No need to modify the CHANGELOG, the release notes are now generated automatically from the PR titles. I'll make sure the PR checklist is updated to remove the CHANGELOG from the checklist.

@mattbrictson mattbrictson added the 🐛 Bug Fix Fixes a bug label Jan 28, 2022
@mattbrictson mattbrictson merged commit 6c8603f into capistrano:master Jan 28, 2022
@harimohanraj89 harimohanraj89 deleted the update-migration-command-log branch January 28, 2022 07:39
@harimohanraj89
Copy link
Contributor Author

Sounds great, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants