SQLSTATE[42P07]: Duplicate table: 7 ERROR: relation "migrations" already exists
<ul>
<li>Laravel Version: 5.1</li>
<li>PHP Version:5.6</li>
<li>Database Driver &amp; Version: psql</li>
</ul>

<h3>Description:</h3>

<p>I run <code>php artisan migrate</code> the first time, and it work perfectly fine. </p>

<h3>Then:</h3>

<p>I've added 1 more migration script to <strong>alter</strong> one of my table.</p>

<hr>

<p>As soon as I ran <code>php artisan migrate</code>,  I started to see this error.</p>

<p><a href="https://i.stack.imgur.com/iUaQ6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iUaQ6.png" alt="enter image description here"></a></p>

<hr>

<p>I have this setting in my <strong>database.php</strong> </p>

<pre><code>'default' =&gt; env('DB_CONNECTION', 'pgsql'),


'pgsql'       =&gt; [
    'driver'      =&gt; 'pgsql',
    'host'        =&gt; env('DB_HOST'),
    'database'    =&gt; env('DB_DATABASE'),
    'username'    =&gt; env('DB_USERNAME'),
    'password'    =&gt; env('DB_PASSWORD'),
    'charset'     =&gt; 'utf8',
    'collation'   =&gt; 'utf8_unicode_ci',
    'prefix'      =&gt; '',
    'strict'      =&gt; false,
    ],
</code></pre>

<p>Please kindly let me know what else, I can provide. </p>