Tutorial: SQL Review with Bytebase GUI

SQL advisor runs automatic SQL checks when:
  • Schema or data change
  • Data query

Schema or data change process

On a specific issue page, the advisor will run automatically after creation: sql-advisor It currently supports the following checks:
  • SQL Review Rules
  • Database connection failure
  • Syntax error
  • Migration schema missing (the internal bytebase schema recording the migration history)

Data query process

In SQL Editor, when you run a query, the advisor will run automatically: sql-editor-warning