-
-
Notifications
You must be signed in to change notification settings - Fork 2
LinkedQL Rollback
Oxford Harrison edited this page Nov 15, 2024
·
4 revisions
Interactively perform a rollback operation.
What it does: loops through each database and initiates a rollback to their latest savepoint if any; works interactively by default and lets you preview each query to be run.
Use the --desc
flag to provide a rollback description. (REQUIRED):
npx linkedql rollback --desc="Changes no more relevant"
(If you ommit the --desc
flag, you are prompted for a rollback description on a db-by-db basis. This can be useful, depending!)
Use the --select
flag to explicitly list databases to roll back:
npx linkedql rollback --select=database_1,database_3
Use the --quiet
flag to turn off SQL previews:
npx linkedql rollback --quiet