> ## 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.

# Step 6: Change Schema

Database changes follow four stages: **Plan**, **Review**, **Approve**, and **Rollout**. Plans become Issues when submitted for review.

## Create a Plan

1. Navigate to **CI/CD** > **Plans** and click **+ New Plan**.

2. Select target databases and click **Confirm**.

3. Add your SQL statement or use **Schema Editor** for visual design.

## Create Issue & Run SQL Review

1. Click **Create** and the plan will be in `Draft` status with automatic SQL review.

   <img src="https://mintcdn.com/dbx/3vJ8dinH2wl_yToL/content/docs/get-started/step-by-step/change-schema/bb-plan-warning-detail.webp?fit=max&auto=format&n=3vJ8dinH2wl_yToL&q=85&s=b479d073a9f1f1d38e965ef374d18afe" alt="SQL review checks showing a NOT NULL warning" width="1600" height="421" data-path="content/docs/get-started/step-by-step/change-schema/bb-plan-warning-detail.webp" />

2. Fix any warnings and click **Ready for Review** to convert the plan into an issue and await approval.

## Approve (Enterprise)

1. Issue awaits approval per [configured rules](/change-database/approval). Approvers click **Approve**.

## Deploy

1. Click **Run** to deploy manually, or configure automatic rollout in environment settings.

   <img src="https://mintcdn.com/dbx/3vJ8dinH2wl_yToL/content/docs/get-started/step-by-step/change-schema/bb-issue-2-targets-to-rollout.webp?fit=max&auto=format&n=3vJ8dinH2wl_yToL&q=85&s=25ec601bd3b4841831b56aaeb8c4a376" alt="Deploy stage rolling out to Test then Prod" width="1600" height="758" data-path="content/docs/get-started/step-by-step/change-schema/bb-issue-2-targets-to-rollout.webp" />

2. Issue marked `Done` when complete.

## Summary

Plan → Review → Approve → Rollout

<img src="https://mintcdn.com/dbx/kFVAyOLPlS8cpKre/content/docs/get-started/step-by-step/change-schema/issue-lifecycle.webp?fit=max&auto=format&n=kFVAyOLPlS8cpKre&q=85&s=df447a1e78d7d8a049cfa8f4a4e8856c" alt="issue-lifecycle" width="1920" height="819" data-path="content/docs/get-started/step-by-step/change-schema/issue-lifecycle.webp" />

See [Database Change Workflow](/change-database/change-workflow/) for details.
