Add Ai::Catalog::ItemVersionDependency model and checks

What does this MR do and why?

Similar to !201490 (closed) but uses a new Ai::Catalog::ItemVersionDependency model instead of the dependency_ids column.

This is needed so that we know when to soft delete items that have consumers.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #560718 (closed)

Edited by Keeyan Nejad

Merge request reports

Loading