nschema destroy
Drop all managed schema objects from the target database. Prompts for confirmation before
making changes unless --auto-approve is given.
nschema destroyWhen a state store is configured it is refreshed after the teardown.
Options
Section titled “Options”--scope <name>— limit the teardown to specific namespaces. May be repeated.--auto-approve— skip the confirmation prompt. Required for non-interactive runs.
Like a declined apply, a declined destroy makes no changes and
exits 1.