<p>Greetings <a href="https://github.com/Altreus" class="user-mention">@Altreus</a> </p>

<p>Sigh... this is an unholy shitpile (the API before your changes, not your fault). Currently we have:</p>

<p><code>add_unique_constraint</code><br>
<code>add_unique_constraints</code><br>
<code>name_unique_constraint</code><br>
<code>unique_constraints</code><br>
<code>unique_constraint_names</code><br>
<code>unique_constraint_columns</code></p>

<p>Adding to this <code>unique_constraints_extra</code> to this clusterfuck is not wise to say the least. Instead please add a <code>-&gt;unique_constraints_info</code> method, make it return a hashref (not a flattened list), with names as keys, and values being a subhashref with <code>columns</code>, <code>extra</code>, etc... fields. Just the way <code>-&gt;columns_info</code> works.</p>

<p>That'd be the starting point, which invalidates what you currently have, so I can't elaborate further. More once the first mockup is up.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/dbsrgits/dbix-class/pull/88#issuecomment-153361602">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AASeAnJ6J-QNHBSKwzOKm6lw1a3ccXRqks5pCLRngaJpZM4Ga5rQ.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/dbsrgits/dbix-class/pull/88#issuecomment-153361602"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>