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...
{:else if error}
Failed to load datatable diffs: {error}
{:else if diffs.length > 0}
{#each diffs as diff}
{#if expandedDatatables.has(diff.datatableName)}
{#if drawerDirection == 'ahead'}
You have made these changes in {currentWorkspaceId} that are not yet deployed in {parentWorkspaceId}.
{:else if drawerDirection == 'behind'}
These changes were made in {parentWorkspaceId} but the current workspace is not up to date.
{/if}