You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.Choose`Sample Template`which has 19 enabled rules and click **Next**. Click **Confirm and add**to attach the SQL review to Environment `Prod` and click **Confirm**. The SQL review is created.
25
+
1.Select`Sample Template`(19 enabled rules), click **Next**. Attach to `Prod`environment and confirm.
26
26
27
27
## Step 3 - Create a Plan
28
28
29
-
1. Navigate to **CI/CD** > **Plans**in the left menu and click **+ New Plan**.
29
+
1. Navigate to **CI/CD** > **Plans** and click **+ New Plan**.
30
30
31
31
1. Select both databases where changes will be applied:
32
32
@@ -35,46 +35,46 @@ In this tutorial, you'll use the default sample databases to get familiar with t
35
35
36
36
Click **Confirm** to proceed.
37
37
38
-
1. Add the SQL statement, you may click **Schema Editor**to visually design the schema if needed.
38
+
1. Add this SQL statement (or use **Schema Editor**for visual design):
39
39
40
40
```sql
41
41
ALTERTABLEpublic.employee ADD COLUMN IF NOT EXISTS nickname TEXT;
42
42
```
43
43
44
-
Click **Create** to create the plan.
44
+
Click **Create**.
45
45
46
-
1. The plan will be in `Draft` status. You may see SQL review warnings, this is because Bytebase automatically runs configured checks according to the SQL review policy. Click the warning to view details.
46
+
1. The plan starts in `Draft` status. Any SQL review warnings appear because Bytebase automatically checks against your configured policy. Click warnings for details.
1. Click **Run** for the Test stage first and then if it's successful, click **Run**for the Prod stage.
70
+
1. Click **Run** for Test, then for Prod after success.
71
71
72
-
1.When all rollouts are successfully executed, the issue will be marked as`Done`.
72
+
1.Once complete, the issue is marked `Done`.
73
73
74
-
## Next Step
74
+
## Next Steps
75
75
76
-
Now you have successfully performed your first schema change, the core workflow in Bytebase. Next:
76
+
You've completed your first schema change. Continue with:
77
77
78
-
-If you want to move changes between environments, follow [How to Move Schema Change from Test to Prod](/tutorials/how-to-move-schema-change-from-test-to-prod/)
79
-
-If you want to rollout manually, follow [Deploy Schema Change with Rollout Policy](/tutorials/deploy-schema-migration/).
80
-
-If you want to assign approvers before the rollout, follow [Database Change with Risk-Based Approval Flow](/tutorials/database-change-management-with-risk-adjusted-approval-flow/)
78
+
-[Move Schema Changes from Test to Prod](/tutorials/how-to-move-schema-change-from-test-to-prod/) - for environment transitions
79
+
-[Deploy with Rollout Policy](/tutorials/deploy-schema-migration/) - for manual rollouts
80
+
-[Risk-Based Approval Flow](/tutorials/database-change-management-with-risk-adjusted-approval-flow/) - for adding approvers
0 commit comments