> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bytebase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Bytebase 1.2.0 - Jun 23, 2022

> Bytebase now supports Schema Review for SQL Editor.

## 🚀 New Feature

Schema Review for SQL Editor

<img src="https://mintcdn.com/dbx/NPAsXofNFOH9Jrw-/content/changelog/1.2.0/sql-editor-schema-review.webp?fit=max&auto=format&n=NPAsXofNFOH9Jrw-&q=85&s=7284397a84c3b3c276819da6a0e047f7" alt="sql-editor-schema-review" width="2000" height="1124" data-path="content/changelog/1.2.0/sql-editor-schema-review.webp" />

* After setting up the schema review policy, if the SQL statement violates the error rule, Bytebase prevents SQL execution and shows error messages
  * Users can change the rule level from "Error" to "Warning"
    * If the SQL statement violates the updated schema review policy, Bytebase will run the SQL, but the warning message will display "Warning"
    * If schema review passes, Bytebase will run the SQL normally

## 🎄 Enhancements

* Improved SQL Editor styles
  <img src="https://mintcdn.com/dbx/NPAsXofNFOH9Jrw-/content/changelog/1.2.0/sql-editor-improvement.webp?fit=max&auto=format&n=NPAsXofNFOH9Jrw-&q=85&s=9e3484c864038082084958b39faf6a49" alt="sql-editor-improvement" width="1236" height="678" data-path="content/changelog/1.2.0/sql-editor-improvement.webp" />
* Improved SQL Editor experience with auto-completion and code formatting on the issue page
* Support to set SSL connection arguments for ClickHouse instances
* Support to Approve/Run all tasks in a stage for tenant mode deployment issues
* Allow users to retry the schema migration task if it fails
* Will not enforce migration version when users transfer a database to a tenant mode project

## 🎠 Community

* Thanks to [@Cluas](https://github.com/Cluas) for:
  * fix: pg ExecuteContext do not return err [#1540](https://github.com/bytebase/bytebase/pull/1540)
  * fix: remove early check since we support create database idempotent [#1543](https://github.com/bytebase/bytebase/pull/1543)
* Thanks to [@chiyutianyi](https://github.com/chiyutianyi) for: feat: prometheus integration and pprof registration simplification [#1550](https://github.com/bytebase/bytebase/pull/1550)

## ⚙️ Install and Upgrade

* [Fresh install](/get-started/self-host/deploy-with-docker)

* [Upgrade](/get-started/self-host/upgrade)

*Before upgrading: 1) Back up the [metadata](https://www.bytebase.com/docs/administration/back-up-restore-metadata/) — in-place downgrade is not supported. 2) Do not run multiple containers on the same data directory. 3) Terraform users: upgrade Bytebase server first, then apply the new Terraform config.*
