You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say there's a UniqueEvent model with a belongs_to :cause association. unique_events table already has a multi-column uniqueness index like [:cause_id, :some_type, :uuid], unique: true, name: "very_unique_index".
lol_dba will still suggest to add a [:cause_id] index, even though there already is an index where :cause_id is the leftmost term (and no partial indexing is going on).