From e4a2c19c54d4f47d6f71594cece9b58b1ff59e51 Mon Sep 17 00:00:00 2001 From: Sebastian Fix Date: Sun, 29 Oct 2023 12:28:54 +0100 Subject: [PATCH] Fixed Migration reference --- database/migrations/create_auth_provider_table.php.stub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/create_auth_provider_table.php.stub b/database/migrations/create_auth_provider_table.php.stub index ec36957..1a3d4e2 100644 --- a/database/migrations/create_auth_provider_table.php.stub +++ b/database/migrations/create_auth_provider_table.php.stub @@ -11,7 +11,7 @@ return new class extends Migration Schema::create('auth_providers', function (Blueprint $table) { $table->id(); - $table->foreignId('user_id')->nullable()->constrained()->onDelete('cascade'); + $table->unsignedBigInteger('user_id')->nullable(); $table->string('name')->nullable(); $table->string('email')->nullable();