temporal
temporal copied to clipboard
feat: add SQL Review Action to check SQL anti-pattern and enforce schema consistency for MySQL and PostgreSQL
What changed?
Use https://github.com/marketplace/actions/sql-review GitHub Action to enforce schema consistency for MySQL and PostgreSQL.
Why?
It's a SQL lint to enforce schema consistency for team development
How did you test it?
Tested by tweaking the schema file and check the output. I have modified rules to cater with the existing schema convention. But you can further tweak it there https://www.bytebase.com/sql-review-guide
Potential risks
N/A, it's a GitHub Action check.
Is hotfix candidate?
No
Ping
We don't have a need for this linter today. We can re-evaluate our decision in the future.