syn2mas: only log once when rebuilding constraints

This commit is contained in:
Quentin Gliech
2025-04-22 17:46:12 +02:00
parent 9aafc576a1
commit 853b987a4a

View File

@@ -123,7 +123,6 @@ pub async fn restore_constraint(
table_name,
definition,
} = &constraint;
info!("rebuilding constraint {name}");
sqlx::query(&format!(
"ALTER TABLE {table_name} ADD CONSTRAINT {name} {definition};"