I'm trying to add a number of new column to the generic 'users' table that comes with the Laravel 5 installation.
However I create a new migration that does a Schema::create as follows:
Schema::create('users', function(Blueprint $table)
{
$table->increments('id');
$table->string('username');
$table->string('email')->unique();
$table->string('password', 60);
$table->string('avatar');
$table->string('first_name');
$table->string('last_name');
$table->string('nickname');
$table->rememberToken();
$table->timestamps();
});
In the above I added the avatar
, first_name
, last_name
and nickname
columns.
My problem is that when I run php artisan migrate
it's telling me Nothing to migrate.
How do I create an "update" migration?