Skip to content

Resolve "Add the`to_h` method to the `Inconsistency` class"

What does this MR do and why?

In this merge request, we are adding the method to_h to the Inconsistency class.

This method will return a hash with the following fields:

  • type
  • object_type
  • table_name
  • object_name
  • structure_sql_statement
  • database_statement

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

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 #422701 (closed)

Edited by Diogo Frazão

Merge request reports