title: SQL error in Laravel when moving project between machines
body: <p>I just moved my laravel project from one machine to another.
  What I didn was:
  -Create a new Laravel Homestead machine.
  -Copy all files from my laravel app's folder</p>
  
  <p>The website serves ok from my new machine but any database dependant operation fails because the tables aren't created in my new server. The error is the following:</p>
  
  <pre><code>QueryException in Connection.php line 673: SQLSTATE[42S02]: Base table or view not found:
  </code></pre>
  
  <p>The migrations are present in my new machine but I cant do a </p>
  
  <blockquote>
    <p>php artisan migrate </p>
  </blockquote>
  
  <p>or a </p>
  
  <blockquote>
    <p>php artisan migrate:refresh </p>
  </blockquote>
  
  <p>since both return</p>
  
  <pre><code>[Symfony\Component\Debug\Exception\FatalErrorException]
  Cannot declare class CreateUsersTable, because the name is already in use
  </code></pre>
  
  <p>I've spent so much time here I don't know what to do.</p>