pg-schema-diff
pg-schema-diff copied to clipboard
Create Go script that can replace preceding tabs with spaces in SQL string literals
Related to #67, this issue is a follow-up to the PR resolving #67 which will add a Go based script that can be run as needed to correct the whitespace for the string literals.
The desired feature set should include:
- Re-writes the acceptance tests to have tab-less multi-line strings
- Preferably has a--fix option, such that there is basically a validation/dry-run mode and a write mode
- Is called from the makefile lint and lint_fix targets (like go_lint, sql_lint, etc)