Erro ao criar tabelas
[Concluído]

Olá Carlos,
Aqui não consigo gerar as tables, veja o erro .
http://cloud.movavi.com/show/v8qHmg3SRFMJe4cod0ypBi2j9OC5Zl1E
[41;1m Illuminate\Database\QueryException [49;22m : [33mSQLSTATE[HY000]: General error: 1
215 Cannot add foreign key constraint (SQL: alter table `posts` add constraint `posts_user_id_foreign` foreign key (`user_id`) references `users` (`id`) on delete cascade)[39m
Olá, Ademir!
Tudo bem?
Tem o projeto no GitHub?
Preciso ver a sequência dos arquivos de migrations.
Deixa a assim a sua FK:
$table->unsignedBigInteger('user_id');
$table->foreign('user_id')->references('id')->on('users');
Depois roda o comando:
php artisan migrate:fresh

Olá Carlos,
Executei a mudança porem continua.
https://github.com/sgdtec/laravel-notification.git

Você finalizou o ticket, deu certo?

Bom dia, Carlos,
O laravel 6x, trabalha desta forma
public function up()
{
Schema::create('posts', function (Blueprint $table) {
$table->bigIncrements('id');
$table->unsignedBigInteger('user_id'); //Author
$table->string('title')->unique();
$table->text('content');
$table->timestamps();
$table->foreign('user_id')
->references('id')
->on('users')
->onDelete('cascade');
});
}

Parabéns amigo!

Precisa estar logado para conseguir responder a este ticket!
Clique Aqui Para Entrar!