title: Storing a photo in Laravel. Migration file's structure
body: <p>I'm creating a table to hold multiple photos a user uploads through a form. I was told to </p>
  
  <blockquote>
    <p>you'd need to create a separate table for them (photos) create a separate model (Photo with a field 'src')</p>
  </blockquote>
  
  <p>My issue is with the src. Do i need to save a property of the table as a src
  so instead of <code>$table-&gt;string('photo);</code></p>
  
  <p>its </p>
  
  <pre><code>$table-&gt;src('photo);
  </code></pre>