Всем привет. При выполнении миграции получаю ошибку.
Пытаюсь выполнить миграцию одной таблицы user
Код:
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
*
@return void
*/
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->increments('id');
$table->string('login');
$table->string('first_name');
$table->string('second_name');
$table->string('patronymic');
$table->string('full_name');
$table->string('phone');
$table->string('email');
$table->integer('group');
$table->string('password');
$table->rememberToken();
$table->timestamps(); });
}
/**
* Reverse the migrations.
*
*
@return void
*/
public function down()
{
Schema::dropIfExists('users');
}
}