Bytebase defines SQL Review Policy for each environment. The SQL Review Policy is essentially a set of SQL lint rules defined in SQL Review Rule. Once configured, Bytebase will check SQL against the configured those rules.
- Workspace Admin or Workspace DBA role to configure the Review Policy.
Create Schema Review Policy
There are two ways to create the
Schema Review Policy.
One is from
Schema Review Policy dashboard in
The other is from
Change rule level
You can choose one of
Error will block the automatic run of
Warning will not.
When the rule is
Disabled, it will not take effect.
Change rule configuration
There are currently three types of rules that need to be configured.
The rule Enforce the Required Columns in Each Table needs
Details of the rules can be found here.
Disable and Delete Schema Review Policy
Schema Review Policy to prevent it from taking effect.
After disabling it, you can delete it.