Revert "feat: track datatable table DDL changes in workspace_diff"

This reverts commit 7526dd68b9.
This commit is contained in:
Diego Imbert
2026-03-25 11:03:37 +01:00
parent 7526dd68b9
commit 5bb67954bd
5 changed files with 19 additions and 98 deletions
@@ -5044,14 +5044,6 @@ async fn compare_workspaces(
compare_two_folders(&db, &source_workspace_id, &fork_workspace_id, &item.path)
.await?,
),
"datatable_table" => {
// No stateless comparison yet — assume changes are real
Some(ItemComparison {
has_changes: true,
exists_in_source: true,
exists_in_fork: true,
})
}
k => {
tracing::error!("Received unrecognized item kind `{k}` with path: `{}` while computing diff of {fork_workspace_id} and {source_workspace_id} workspaces. Skipping this item", item.path);
None
@@ -5292,8 +5284,6 @@ async fn query_visible_items<'c>(
.fetch_all(&mut **tx)
.await?
}
// Datatable tables are always visible (no permission gating)
"datatable_table" => paths_vec,
_ => vec![], // Unknown kind
};