> ## 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.1.1 - Jun 09, 2022

> Allow schema review policy configuration for the environment. Add archive checkers for environment/project/instance. UI improvements for tenant-mode deployment. Improved PostgreSQL schema dump. The owner of newly created PostgreSQL schemas is the database owner by default. Display applicable conditions for Environment policies.

* **Enable schema review policy configuration in environment**
* Users can configure a schema review policy for a particular environment. The schema review policy can be configured through both schema review policy dashboard and environment dashboard
* Both rule level and rule configuration can be changed
* After creating a schema review policy, users can view, edit or delete the policy any time they like
* Display schema review results in the issue detail page if the schema review policy is configured
  <img src="https://mintcdn.com/dbx/NPAsXofNFOH9Jrw-/content/changelog/1.1.1/schema-review-policy-check.webp?fit=max&auto=format&n=NPAsXofNFOH9Jrw-&q=85&s=8773bc4a0528fa731e359a87185d1052" alt="schema-review-policy" width="1280" height="578" data-path="content/changelog/1.1.1/schema-review-policy-check.webp" />

## 🎄 Enhancement

* Add archive checkers for environment/project/instance
  * Ensure the environment has no instance before it's archived
  * Ensure the project has no database before it's archived
  * Ensure all databases in the instance are under the default project before the instance is archived
* UI improvements for tenant-mode deployment
  <img src="https://mintcdn.com/dbx/NPAsXofNFOH9Jrw-/content/changelog/1.1.1/tenant-mode-ui-improvement.webp?fit=max&auto=format&n=NPAsXofNFOH9Jrw-&q=85&s=03ea37260bb666ce2bc85fce3046d498" alt="tenantmodeui" width="891" height="652" data-path="content/changelog/1.1.1/tenant-mode-ui-improvement.webp" />
* Improved PostgreSQL schema dump.
* The owner of newly created PostgreSQL schemas will be the same as the database owner by default.
* Display applicable conditions for Environment policies.

## 🎠 Community

* Thanks to [@unknwon](https://github.com/unknwon) for [PR: feat: implement FetchCommitByID for GitHub VCS provider](https://github.com/bytebase/bytebase/pull/1417)

## ⚙️ 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.*
