<p>This adds an option to be able to specify index lengths for MySQL, such as:</p>

<p><code>$index-&gt;fields( 'id', { name =&gt; 'firstname', size =&gt; 15 } );</code></p>

<p>The majority of this PR is updating the other providers to ignore this, and a bunch of tests (including a new basic SQLServer test).</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/sql-translator/pull/68'>https://github.com/dbsrgits/sql-translator/pull/68</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Add index length option for MySQL</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-0">lib/SQL/Translator/Generator/DDL/SQLServer.pm</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-1">lib/SQL/Translator/Producer/DB2.pm</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-2">lib/SQL/Translator/Producer/GraphViz.pm</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-3">lib/SQL/Translator/Producer/HTML.pm</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-4">lib/SQL/Translator/Producer/MySQL.pm</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-5">lib/SQL/Translator/Producer/Oracle.pm</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-6">lib/SQL/Translator/Producer/POD.pm</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-7">lib/SQL/Translator/Producer/PostgreSQL.pm</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-8">lib/SQL/Translator/Producer/SQLite.pm</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-9">lib/SQL/Translator/Producer/Sybase.pm</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-10">lib/SQL/Translator/Role/ListAttr.pm</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-11">lib/SQL/Translator/Schema/Index.pm</a>
    (25)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-12">lib/SQL/Translator/Utils.pm</a>
    (13)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-13">t/13schema.t</a>
    (37)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-14">t/38-mysql-producer.t</a>
    (34)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-15">t/45db2-producer.t</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-16">t/47postgres-producer.t</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-17">t/55-oracle-producer.t</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-18">t/56-sqlite-producer.t</a>
    (6)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/dbsrgits/sql-translator/pull/68/files#diff-19">t/75-sqlserver-producer.t</a>
    (112)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/dbsrgits/sql-translator/pull/68.patch'>https://github.com/dbsrgits/sql-translator/pull/68.patch</a></li>
  <li><a href='https://github.com/dbsrgits/sql-translator/pull/68.diff'>https://github.com/dbsrgits/sql-translator/pull/68.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/sql-translator/pull/68">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AASeAoLoAvzDu_VIIDNKvI9tLO0KSdvxks5otupigaJpZM4F2eny.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/sql-translator/pull/68"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>