mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:07:32 +00:00
docs(10016): improve understanding of output (#10014)
# Which Problems Are Solved The output of the sql statement of tech advisory was unclear on how the data should be compared # How the Problems Are Solved An additional column is added to the output to show the effective difference of the old and new position.
This commit is contained in:
@@ -87,12 +87,13 @@ select
|
|||||||
b.aggregate_type,
|
b.aggregate_type,
|
||||||
b.sequence,
|
b.sequence,
|
||||||
b.old_position,
|
b.old_position,
|
||||||
b.new_position
|
b.new_position,
|
||||||
|
b.old_position - b.new_position difference
|
||||||
from
|
from
|
||||||
broken b;
|
broken b;
|
||||||
```
|
```
|
||||||
|
|
||||||
If the output from the above looks reasonable, for example not a huge difference between `old_position` and `new_position`, commit the transaction:
|
If the output from the above looks reasonable, for example not a huge number in the `difference` column, commit the transaction:
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
commit;
|
commit;
|
||||||
|
Reference in New Issue
Block a user