# hub: every DELETE statement, static and built (run 2026-11-10T12:23:29Z)
## static, count per table
      4 DELETE FROM app_log_issues
      1 DELETE FROM app_log_tails
      2 DELETE FROM app_telemetry
      1 DELETE FROM customer_claims
      1 DELETE FROM customer_configs
      1 DELETE FROM dr_recipe
      2 DELETE FROM events
      1 DELETE FROM guests
      1 DELETE FROM held_apps
      2 DELETE FROM host_escrow
      4 DELETE FROM host_escrow_superseded
      1 DELETE FROM host_pbs_secrets
      1 DELETE FROM host_recovery
      2 DELETE FROM host_reports
      1 DELETE FROM hosts
      1 DELETE FROM hub_settings
      3 DELETE FROM log_bundle_requests
      4 DELETE FROM log_bundles
      1 DELETE FROM log_tail_requests
      1 DELETE FROM notification_log
      1 DELETE FROM one_time_secrets
      1 DELETE FROM reports
      2 DELETE FROM selfbind_tokens
      2 DELETE FROM signed_jobs
      1 DELETE FROM wg_endpoints
      3 DELETE FROM wg_peers
## built at run time (table name joined in)
HUB/store/customer_delete.go:99:		if _, err := tx.Exec(`DELETE FROM `+q.table+` WHERE customer_id = ?`, customerID); err != nil {
## every table
api_tokens appliance_registrations app_log_issues app_log_tails app_telemetry customer_claims customer_configs customer_notifications customer_resets dr_recipe events guests held_apps host_deletions host_escrow host_escrow_superseded host_pbs_secrets host_recovery host_reports hosts hub_settings log_bundle_requests log_bundles log_tail_requests notification_log offsite_abandon_requests offsite_keys offsite_windows one_time_secrets operator_actions os_candidates os_host_settings os_kernel_notices os_releases os_reports r172_probe reports selfbind_tokens signed_jobs wg_endpoints wg_peers 
