You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We are using schemachange as part of a continuous deployment pipeline (in Azure DevOps, specifically). We want to manually review scripts that are going to be run against production, but only notify people to do so if there are any to be run.
Describe the solution you'd like
I'd like a way to reliably have code determine if schemachange finds any scripts to be run. Options that come to mind are having flags for:
JSON output
Having the exit code indicate whether there are changes, like Terraform does
Describe alternatives you've considered
Here's the solution I came up with is to parse the "Successfully applied N change scripts" line of the schemachange output.
Is your feature request related to a problem? Please describe.
We are using schemachange as part of a continuous deployment pipeline (in Azure DevOps, specifically). We want to manually review scripts that are going to be run against production, but only notify people to do so if there are any to be run.
Describe the solution you'd like
I'd like a way to reliably have code determine if schemachange finds any scripts to be run. Options that come to mind are having flags for:
Describe alternatives you've considered
Here's the solution I came up with is to parse the "Successfully applied N change scripts" line of the schemachange output.
The pipeline job
schemachange_check.py
Additional context
none
The text was updated successfully, but these errors were encountered: