diff --git a/website/public/index.html b/website/public/index.html index 3a55670911..02b19df034 100644 --- a/website/public/index.html +++ b/website/public/index.html @@ -324,8 +324,9 @@
- sqb rename and sqb mv update every reference and keep the existing table, so an incremental model doesn't start again. The old name keeps working as a view. Renamed columns keep their history too.
+ sqb rename and sqb mv update every reference and keep the existing table, so an incremental model doesn't start again. The old name keeps working as a view. Renamed columns keep their history too. The old table is never modified during the migration.
sqb rename daily_activity_rollup daily_order_rollup Rename model daily_activity_rollup -> daily_order_rollup @@ -350,8 +351,9 @@Rename models without rebuilding history
08 · Tidy up safelyArchive old tables before deleting them
- The janitor renames tables your project no longer builds, and only drops them once the archive expires, 14 days later by default. + The janitor renames tables your project no longer builds, and only drops them once the archive expires, 14 days later by default. Until then an archive can be renamed back, and every move is recorded.
+sqb janitor Janitor preview prod @@ -368,8 +370,13 @@Archive old tables before deleting them
09 · InvestigateFind out what happened, then check what's true now
- Every run is recorded: what ran, the SQL it executed, audit results and everything it printed. Agents and people ask in SQL, then check live state with the same command. + SQLBuild records every run: what ran, the SQL it executed, audit results and everything it printed. You or an agent can query that history in SQL, and the same command queries the warehouse to check what's true now.
++ Here an audit started warning on the latest run, but the build still exited 0. The first two commands show when it started and what the run printed. The third finds the cause, still in prod: a refund stored as a negative payment. +
+History lives in a SQLite file in your project, or in ClickHouse for a team. No service to run, no account, no paid tier.
+sqb recall query "SELECT substr(a.invocation_started_at, 1, 16) AS run, a.outcome, a.violation_count, i.status, i.exit_code FROM audit_results a @@ -391,17 +398,7 @@-Find out what happened, then check what's true now
9 | 8 | -2200 | 2026-04-03 15:42:00- Real output from SQLBuild's example project, trimmed to the relevant lines. During a migration the old - table is never modified, archives can be renamed back until they expire, and every move is recorded. - In step 09 the audit started warning on the latest run, the build still exited 0, and the cause - is still in prod: a refund recorded as a negative payment. Three commands, no log digging. - History stays in a SQLite file in your project, or in ClickHouse for a team. No service, no - account, no paid tier. - How migrations work · - How the janitor works · - How Recall works -
+Real output from SQLBuild's example project, trimmed to the relevant lines.
diff --git a/website/public/styles.css b/website/public/styles.css index 36c40f6163..bb8643af73 100644 --- a/website/public/styles.css +++ b/website/public/styles.css @@ -440,6 +440,11 @@ h3 { font-size: 15px; } +.step-text .more { + margin-top: 14px; + font-size: 14px; +} + .terminal { margin: 0; padding: 22px 24px;