deprecated function removed, no need for backup

This commit is contained in:
filipriec
2025-07-13 08:51:47 +02:00
parent 17495c49ac
commit de42bb48aa
4 changed files with 24 additions and 38 deletions

View File

@@ -199,8 +199,17 @@ pub async fn put_table_data(
db_pool: Arc::new(db_pool.clone()),
};
let script_result = execution::execute_script(script_record.script, "STRINGS", Arc::new(db_pool.clone()), context)
.map_err(|e| Status::invalid_argument(format!("Script execution failed for '{}': {}", target_column, e)))?;
let script_result = execution::execute_script(
script_record.script,
"STRINGS",
Arc::new(db_pool.clone()),
schema_id,
profile_name.clone(),
table_name.clone(),
final_context_data.clone(),
)
.await
.map_err(|e| Status::invalid_argument(format!("Script execution failed for '{}': {}", target_column, e)))?;
let Value::Strings(mut script_output_vec) = script_result else {
return Err(Status::internal("Script must return string values"));