Issue drives the database change workflow such as Schema Change (DDL), Data Change (DML), and Database Creation. It’s similar to the issue concept in other issue management tools.

Create issue

Go to your project page, choose one or several databases to Edit Schema. edit-schema You may use the Schema Editor to visually design the schema. schema-editor Alternatively, you can switch to the Raw SQL mode. You can sync the raw SQL from the schema editor or supply your own SQL statements. raw-sql Once you finish writing the SQL, click Preview issue. preview-issue By default, Bytebase will create a Rollout issue. You can check SQL Review Only to create a review-only plan.

Review issue

review-issue If there’s a SQL review warning, you may need to fix it first. An issue may also require one or multiple manual approvals.

Roll out issue

Once all approvals are granted, the issue can be rolled out. roll-out-issue

Summary

An issue lifecycle: Create -> Review -> Approve -> Roll out. issue-lifecycle Check Database Change Workflow for further details.