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 20 enabled rules and click **Confirm and add**. Attach the SQL review to Environment `Prod` and click **Confirm**.
1. Add this SQL statement (or use **Schema Editor** for visual design):
47
39
48
40
```sql
49
41
ALTERTABLEpublic.employee ADD COLUMN IF NOT EXISTS nickname TEXT;
50
42
```
51
43
52
-
Click **Create** to create the plan.
44
+
Click **Create**.
45
+
46
+
1. The plan is then in `Draft` status. Any SQL review warnings appear because Bytebase automatically checks against your configured policy. Click warnings for details.
53
47
54
-
1. The plan will be in `Draft` status. You may see SQL review warnings, especially for the production environment. This is because Bytebase automatically runs configured checks.
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.
78
71
79
-
1.When all rollouts are successfully executed, the issue will be marked as`Done`.
72
+
1.Once complete, the issue is marked `Done`.
80
73
81
-
## Next Step
74
+
## Next Steps
82
75
83
-
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:
84
77
85
-
-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/)
86
-
-If you want to rollout manually, follow [Deploy Schema Change with Rollout Policy](/tutorials/deploy-schema-migration/).
87
-
-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
Copy file name to clipboardExpand all lines: docs/tutorials/sql-review-gui.mdx
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,6 @@ Make sure you have [Docker](https://www.docker.com/) installed, and if you don
40
40
1. Choose `Sample Template` which has 20 enabled rules and click **Confirm and add**. Attach the SQL review to Environment `Prod` and click **Confirm**.
41
41
42
42
1. You'll see the SQL review is created. Note that there's a warning sign for the `NOT NULL` rule.
0 commit comments