diff --git a/frontend/src/lib/components/DatatableSchemaDiff.svelte b/frontend/src/lib/components/DatatableSchemaDiff.svelte index 579b7a1923..1fb6918580 100644 --- a/frontend/src/lib/components/DatatableSchemaDiff.svelte +++ b/frontend/src/lib/components/DatatableSchemaDiff.svelte @@ -48,6 +48,9 @@ // migrations, its changes flow through the normal item diff instead, so it is // excluded here and the whole section hides once none remain. let applicableCount = $state(0) + let applicableLabel = $derived( + applicableCount === 1 ? 'this data table has' : 'these data tables have' + ) let expandedDatatables: Set = $state(new Set()) // Drawer state @@ -293,6 +296,12 @@ {#if applicableCount > 0}

Datatable schema changes

+ + This section diffs data table schemas directly because {applicableLabel} not opted in to migrations. + With migrations enabled, schema changes are tracked as migrations and deployed like any other item. + Opt in from the parent workspace's data table settings — a fork only inherits the flag when it + is created, so this fork keeps using the legacy diff. + {#if loading}
Loading datatable diffs...