Víctor Guerrero

Results 4 comments of Víctor Guerrero

@lloc your solution works for us, thanks ;)

Experiencing the same error only on creation. Is there any workaround?

@danharrin @devadattas can you guys advise me on how you solved this issue? Also, let me share some context about my current scenario. In my case, I create coaches, which...

BTW, adding nullable to `user_id` in the table structure seems to work as a workaround. ```php public function up(): void { Schema::create('coaches', function (Blueprint $table) { $table->id(); $table->unsignedBigInteger('user_id')->nullable(); //FK $table->foreign('user_id')->references('id')->on('users')->onUpdate('cascade')->onDelete('cascade');...