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();