title: MySql phpMyAdmin, can't set unique
body: <p>I have a table (as seen below), this is default from Laravel. However when i try and make the <code>email</code> column unique, i receive the following error:</p>
  
  <pre><code>ALTER TABLE `users` ADD UNIQUE(`email`);
  
  MySQL said: Documentation
  #1071 - Specified key was too long; max key length is 767 bytes
  </code></pre>
  
  <p><strong>Table as seen in phpMyAdmin</strong></p>
  
  <p><a href="https://i.stack.imgur.com/uMQdj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uMQdj.png" alt="View of table"></a></p>
  
  <p>Any thoughts?</p>