[DB] updated year and week value to end_date and offset

This commit is contained in:
guillaume91 2024-06-18 12:06:32 +02:00
parent c237b2ebf2
commit 1980a867ff

View file

@ -11,11 +11,16 @@ class ProjectMosaic extends Model
use HasFactory; use HasFactory;
use \App\Traits\HasStatus; use \App\Traits\HasStatus;
protected $casts = [
'end_date' => 'datetime',
];
protected $fillable = [ protected $fillable = [
'name', 'name',
'path', 'path',
'week', 'week',
'year', 'year',
'end_date',
'status' 'status'
]; ];