Mise en place de Laravel 11 avec Fortify

This commit is contained in:
hugol
2024-11-12 18:19:10 +01:00
parent 999d5524d1
commit a21b69bd8f
212 changed files with 4837 additions and 52217 deletions

View File

@@ -1,22 +0,0 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Contest extends Model
{
use HasFactory;
protected $guarded = [];
public function category()
{
return $this->belongsTo(Category::class);
}
public function organizer()
{
return $this->belongsTo(Organizer::class);
}
}