Describes one problem a check found.
The :fix field holds the code change to make, or the plan for a slow query.
The :query field holds the SQL a slow query finding is about.
The :migration field holds the migration steps that fix it and the phase each one runs in.
Concurrent index changes run on their own and new constraints are validated in a later migration.
Summary
Functions
Returns the stable key the baseline file keeps for a finding.
Returns a level's rank where 0 is the most severe.
Types
@type level() :: :error | :warning | :info
@type phase() :: :concurrent | :add | :validate
Functions
Returns the stable key the baseline file keeps for a finding.
It leaves out the message and line so a finding that moves still matches.
@spec rank(level()) :: non_neg_integer()
Returns a level's rank where 0 is the most severe.