Skip to content

Commit

Permalink
feat: de-escalate constraint name update event to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
toopay committed Sep 13, 2024
1 parent ca9ae72 commit 1acb72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/resource/tables/compare.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func compareRelations(table *objects.Table, source, target []objects.TablesRelat
}

if !strings.HasPrefix(sc.ConstraintName, fmt.Sprintf("%s_", sc.SourceSchema)) {
Logger.Info("constrain name update", "from", sc.ConstraintName, "to", fmt.Sprintf("%s_%s", sc.SourceSchema, sc.ConstraintName))
Logger.Debug("constrain name update", "from", sc.ConstraintName, "to", fmt.Sprintf("%s_%s", sc.SourceSchema, sc.ConstraintName))
sc.ConstraintName = fmt.Sprintf("%s_%s", sc.SourceSchema, sc.ConstraintName)
}

Expand Down

0 comments on commit 1acb72f

Please sign in to comment.