fix: stuff
All checks were successful
Publish to docs.datacontroller.io / Deploy docs (push) Successful in 1m46s
All checks were successful
Publish to docs.datacontroller.io / Deploy docs (push) Successful in 1m46s
This commit is contained in:
parent
4f25763489
commit
f488a5319c
@ -8,7 +8,7 @@ If you would like to support other file types, do [get in touch](https://datacon
|
|||||||
|
|
||||||
## Excel Uploads
|
## Excel Uploads
|
||||||
|
|
||||||
Data can be uploaded in regular (tabular) or dynamic (complex) format. For details, see the [excel](/excel).
|
Data can be uploaded in regular (tabular) or dynamic (complex) format. For details, see the [excel](/excel) page.
|
||||||
|
|
||||||
|
|
||||||
## CSV Uploads
|
## CSV Uploads
|
||||||
|
@ -13,6 +13,8 @@ Simply open the submit to be reverted (via HISTORY or the table INFO/VERSIONS sc
|
|||||||
|
|
||||||
![](/img/restore.png)
|
![](/img/restore.png)
|
||||||
|
|
||||||
|
This approach means that the audit history remains intact - there is simply a new entry, which reverts all the previous entries.
|
||||||
|
|
||||||
## Caveats
|
## Caveats
|
||||||
|
|
||||||
Note that there are some caveats to this feature:
|
Note that there are some caveats to this feature:
|
||||||
@ -27,6 +29,6 @@ Note that there are some caveats to this feature:
|
|||||||
|
|
||||||
## Technical Information
|
## Technical Information
|
||||||
|
|
||||||
The restore works by undoing all the changes listed in the [MPE_AUDIT](/tables/mpe_audit/) table. The keys from this table (since and including the version to be restored) are left joined to the base table (to get current values) to create a staging dataset, and then the changes applied in reverse chronological order using [this macro](https://core.sasjs.io/mp__stripdiffs_8sas.html).
|
The restore works by undoing all the changes listed in the [MPE_AUDIT](/tables/mpe_audit/) table. The keys from this table (since and including the version to be restored) are left joined to the base table (to get current values) to create a staging dataset, and then the changes applied in reverse chronological order using [this macro](https://core.sasjs.io/mp__stripdiffs_8sas.html). This staging dataset is then submitted for approval, providing a final sense check before the new / reverted state is applied.
|
||||||
|
|
||||||
Source code for the restore process is available [here](https://git.datacontroller.io/dc/dc/src/branch/main/sas/sasjs/services/editors/restore.sas).
|
Source code for the restore process is available [here](https://git.datacontroller.io/dc/dc/src/branch/main/sas/sasjs/services/editors/restore.sas).
|
Loading…
Reference in New Issue
Block a user