<p>This PR does work against the current version of SQLT, but that version of SQLT doesn't actually do anything with the information.</p>

<p>There is a PR on SQLT that will actually cause this to have some effect.</p>

<p><a href="https://github.com/dbsrgits/sql-translator/pull/75" class="issue-link" title="Honour DEFERRABLE on all constraints in PostgreSQL">dbsrgits/sql-translator#75</a></p>

<p>I will try to write some tests for this, but I wanted to get the PR made so I can invite discussion in the meantime.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>&nbsp;&nbsp;<a href='https://github.com/dbsrgits/dbix-class/pull/87'>https://github.com/dbsrgits/dbix-class/pull/87</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Allow SQLT options to be passed to unique constraints</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/dbix-class/pull/87/files#diff-0">lib/DBIx/Class/ResultSource.pm</a>
    (48)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/dbix-class/pull/87/files#diff-1">lib/SQL/Translator/Parser/DBIx/Class.pm</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/dbsrgits/dbix-class/pull/87.patch'>https://github.com/dbsrgits/dbix-class/pull/87.patch</a></li>
  <li><a href='https://github.com/dbsrgits/dbix-class/pull/87.diff'>https://github.com/dbsrgits/dbix-class/pull/87.diff</a></li>
</ul>

<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/87">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AASeArHxkZJFpof4JGRrLuTzu2vAfrbqks5pCK0NgaJpZM4Ga5C7.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/87"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>