Я создал таблицы пользователей и ролей и попробовал оба метода без знака и без знака biginteger, но проблема все еще осталась, пожалуйста, помогите
попробовал как без знака, так и без знака
public function up()
{
Schema::create('roles', function (Blueprint $table) {
$table->increments('id');
$table->string('name',50);
$table->timestamps();
});
}
public function down()
{
Schema::dropIfExists('roles');
}
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->increments('id');
$table->unsignedBigInteger('role_id');
$table->string('name');
$table->string('username');
$table->string('email',100)->unique();
$table->string('password');
$table->rememberToken();
$table->boolean('active');
$table->timestamps();
$table->foreign('role_id')->references('id')-
>on('roles');
});
}
невозможно создать таблицу