👀 Introduction toggle






SQL Review /

Review Rules

Bytebase provides customizable SQL lint to check common issues in schema change process.

This document is to show how to configure review rules.

Prerequisites

  • Team or Enterprise plan
  • Workspace Owner or Workspace DBA role

Supported rules

It currently supports following SQL review rules and see Supported Rules for details:

How it works

Bytebase defines Schema Review Policy for each Environment. The Schema Review Policy is essentially a set of SQL lint rules, and we call SQL lint rule the Schema Review Rule. Once configured, Bytebase will check SQL according to the corresponding Schema Review Policy.

!

Schema Review only supports SQL checks in Issue now. Support for SQL Editor is coming soon.