Too Long; Didn't Read
let’s assume that you are working on an application that requires all entries on a table (lets call it <code class="markup--code markup--p-code">entries</code>) to be unique.<br> If we are writing our application with PHP/Laravel the migration (more precisely its <code class="markup--code markup--p-code">up()</code> method) of the table would look like this: