Skip to content

Commit e7bd45a

Browse files
authored
docs: update rollback data hints (#508)
1 parent 25ce4f1 commit e7bd45a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

content/docs/change-database/rollback-data-changes.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You can manually delete the data in `bbdataarchive` database/schema.
2020
| ---------- | ------------------------------------------------------------------------------------- | ------------ | ---------------- |
2121
| MySQL | Create a `bbdataarchive` **database** on the instance where your database is located. |||
2222
| PostgreSQL | Create a `bbdataarchive` **schema** on the database. |||
23-
| Oracle | Create a `bbdataarchive` **database** on the instance where your database is located. || |
23+
| Oracle | Create a `bbdataarchive` **database** on the instance where your database is located. || |
2424
| SQL Server | Create a `bbdataarchive` **database** on the instance where your database is located. |||
2525

2626
## Supported Operations
@@ -31,7 +31,7 @@ We are working on enabling backup and 1-click rollback for more SQL statements.
3131

3232
<HintBlock type="info">
3333

34-
Applicable to `MySQL`, `Oracle(Prior backup only)`.
34+
Applicable to `MySQL`, `Oracle`.
3535

3636
</HintBlock>
3737

@@ -45,7 +45,7 @@ Prior backup is feasible when meeting **all** of the following conditions:
4545

4646
1-click rollback is feasible when meeting **all** of the following conditions:
4747

48-
- The changed table has primary key.
48+
- For `UPDATE`, the changed table has primary key and primary key columns are not updated.
4949

5050
### Classic experience
5151

@@ -61,6 +61,10 @@ Prior backup is feasible when meeting **all** of the following conditions:
6161
- No more than 5 statements and every statement is either `UPDATE` or `DELETE`, or all statements are `UPDATE` for the same table with `PRIMARY KEY` or `UNIQUE KEY` in `WHERE` clause.
6262
- No mixed DDL/DML.
6363

64+
1-click rollback is feasible when meeting **all** of the following conditions:
65+
66+
- For `UPDATE`, the changed table has primary key and the primary key columns are not updated.
67+
6468
## Create backup
6569

6670
You can toggle **Prior Backup** switch before or after creating the issue.

0 commit comments

Comments
 (0)