Bytebase
Developers are familiar with code lint. 🧐
Book a Quick Demo →
Developers are familiar with code lint. You can configure SQL review rules to automatically detect SQL anti-patterns. Once configured, Bytebase will report the violation if found.
- Enforce column constraint. NOT NULL constraint, restrict CHAR length.
- Naming convention. Make tables, columns have consistent naming.
- Delete prevention. Disallow DROP Table or require _del suffix.
- Lock prevention. Prevent statement holding long-time lock.
- Large change alert. Raise error/warning if a change affects over xxx rows.
These SQL review rules are available in the Bytebase console as well as in the API. You can configure your CI to call this API like the GitHub Actions example below:

Bytebase provides 200+ rules. Check out the doc for details. If you want to add your desired rule, please let us know!
Speak soon, Tianzhou Co-founder & CEO of Bytebase
Copyright © 2024 Bytebase, All rights reserved. Blog | Unsubscribe | Contact