fix(data-compare): create missing target tables during sync

This commit is contained in:
t8y2 committed 2026-06-02 17:46:30 +08:00
1 parent b154dcceef
commit b10e7cb1cf
10 files changed
+261 -5

No files matched your search

+8
View File
@@ -18,6 +18,14 @@ pub async fn prepare_data_compare_from_tables(
dbx_core::data_compare::prepare_data_compare_from_tables(&state, options).await
}
#[tauri::command]
pub async fn prepare_data_compare_missing_target(
state: State<'_, Arc<AppState>>,
options: dbx_core::data_compare::DataCompareMissingTargetOptions,
) -> Result<dbx_core::data_compare::DataCompareFromTablesPreparation, String> {
dbx_core::data_compare::prepare_data_compare_missing_target(&state, options).await
}
#[tauri::command]
pub fn build_data_compare_sync_plan(
options: dbx_core::data_compare::DataCompareSyncPlanOptions,