Issue serves as the starting point for managing database changes, including Schema Change (DDL) and Data Change (DML). These changes follow a structured workflow: Plan, Review, Approve, and Rollout. For actions like Database Creation, the workflow might be simpler, omitting some steps.
Navigate to CI/CD > Plans in your project menu and click + New Plan.
Choose either Schema Migration (DDL) or Data Migration (DML). In this example, we select Schema Migration (DDL). After adding the first change, you can continue to add more changes within the same plan.
Select one or more databases where the changes will be applied. Click Confirm to proceed.
If only one database is selected, you can use the Schema Editor to visually design the schema.
After clicking Confirm, you will be directed to the Plan page. Before clicking Create, you may choose to Run checks to execute the configured SQL review.
Once you click Create, the plan will enter Draft status. You may still encounter warnings. Address these warnings first.