Bytebase Docs home page
Search...
⌘K
Ask AI
GitHub
bytebase.com
bytebase.com
Search...
Navigation
UI-Driven Workflow
Review
Get Started
Database CI/CD
SQL Editor
Administration
Integrations
Tutorials
API Reference
Changelog
Database CI/CD
Overview
SQL Review Policy
Webhook
Settings
UI-Driven Workflow
Change
Review
Approval
Rollout
Rollback
Monitor
GitOps Workflow
Overview
Installation
Develop
SQL Review CI
Release
Appendix
Review Rules
Error Codes
On this page
How It Works
Review Results
Configuring Review Policies
Review Rules Reference
Handling Review Feedback
Integration with Approval Flow
UI-Driven Workflow
Review
Copy page
Copy page
SQL Review automatically validates your database changes against configured policies before they’re executed. This ensures consistency and catches potential issues early in the change process.
How It Works
When you create a Plan, SQL Review automatically validates the statements and flags any violations:
Review Results
SQL Review results appear directly in the Plan interface, showing:
Errors
: Must be fixed before the change can proceed
Warnings
: Should be reviewed but won’t block execution
Passed checks
: Confirmations that rules are satisfied
Configuring Review Policies
Review policies determine which rules are enforced for your database changes. You can configure these policies at the environment or project level.
Configure SQL Review Policies
Learn how to set up and customize SQL Review policies for your environments and projects
Review Rules Reference
Bytebase provides comprehensive review rules for each database engine, covering:
Schema design best practices
Performance optimization
Security requirements
Naming conventions
SQL Review Rules
Browse the complete list of available review rules for each database engine
Handling Review Feedback
When SQL Review identifies issues:
Review the findings
: Click on each issue to understand what needs to be fixed
Update your SQL
: Modify the statements to comply with the rules
Re-run the review
: The review automatically runs again when you save changes
Proceed when cleared
: Once all errors are resolved, continue with the approval process
Integration with Approval Flow
SQL Review acts as the first gate in your change management process:
Review must pass before human approvers are notified
Failed reviews can be configured to block automatic rollout
Review results are included in approval notifications
This automated validation reduces the burden on reviewers and ensures consistent quality standards across all database changes.
Was this page helpful?
Yes
No
Schema Editor
Approval
Assistant
Responses are generated using AI and may contain mistakes.