Skip to content

Update catalog resources SyncEvent model with ignore_column remove_never

Leaminn Ma requested to merge catalog-sync-event-update-ignore-column into master

What does this MR do and why?

!138666 (merged) introduced a new attribute remove_never to the ignore_column helper. Previously, we had to apply a small hack to this helper by setting the remove version/year to 3000 so that it would effectively ignore the column forever.

This MR updates Ci::Catalog::Resources::SyncEvent model to use the new remove_never attribute. This model is a partitioned table that requires partition_id to remain a read-only column so that Rails doesn't modify it.

Resolves #434148 (closed).

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #434148 (closed)

Merge request reports