Skip to content

CLI reference

sqt repair active-view

Re-point one stable view to an explicit deployment table.

Repair one broken or incorrect virtual-environment binding:

sqt doctor
sqt repair active-view --table tbl__orders --deployment-id 20260729T120000Z_ab12cd

The command derives tbl__orders__<deployment_id>, atomically replaces the stable view binding, and emits the resulting table and target names as JSON.

Both --table and --deployment-id are required. sqt doctor lists each stable view with the deployments it can point at; pass one of those IDs.

repair active-view requires virtual environments.