title: How do I run migrations for a specific environment in laravel
body: <p>I'm setting up a new app with laravel (Laravel 4), and having some issues setting up the database via migrations.</p>
  
  <p>I made a migration file with:</p>
  
  <pre><code>artisan migrate:make --table="jobs" --create jobs
  </code></pre>
  
  <p>Which created a file in database/migrations as expected, I made some mods to this, and went to fire it up using</p>
  
  <pre><code>artisan migrate --env=local
  </code></pre>
  
  <p>But I'm getting the reply of <code>"Nothing to migrate"</code></p>
  
  <p>If I try run without <code>--env=local</code>, it uses the database.php in the config folder (not in the local / staging / production folder) which we don't want to use, as it won't be environment specific.</p>
  
  <p>My first thought was OK, maybe I need to put the env flag on the <code>migrate:make</code> call, so I tried that, but got an error saying it couldn't create the migration file. Then I thought it doesn't make sense to make env based migrations anyway... they should be created generic, and simply run on a per env basis, so in the end, all environments are using the same migration scripts.</p>
  
  <p>So I'm a bit stuck now on where to go to from here</p>