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

ANZX-146383 - Adding Verbose command #51

Merged
merged 6 commits into from
Mar 7, 2024
Merged

Conversation

SamMcEachern
Copy link
Contributor

@SamMcEachern SamMcEachern commented Mar 7, 2024

WHAT

This PR adds a new versbose command to the wrench repository. When this command is provided during a migration where a spanner UPDATE, DELETE, INSERT occurrs, the program will output the migration filename which performed the change + the number of rows affected.
The output will look something like:
Migration Information: 000003_update_customers.sql - rows affected 5 000006_delete_contacts.sql - rows affected 50

WHY

Our team is needing output regarding how many rows were updating during a migration. This would provide visibility over the success of an update, and will give us a quick indication of success/failure of the update.

Screenshot 2024-03-07 at 2 45 43 pm

Copy link
Owner

@RoryQ RoryQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@RoryQ RoryQ merged commit 1e586c3 into RoryQ:main Mar 7, 2024
2 checks passed
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.

None yet

2 participants