1$table->unsignedBigInteger('user_id');
2$table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
1$table->foreign('column_name')->references('id')->on('table_name')->onDelete('cascade');
1$table->foreignId('post_id')
2 ->constrained()
3 ->onUpdate('cascade')
4 ->onDelete('cascade');