[DB] updated year and week value to end_date and offset
This commit is contained in:
parent
c237b2ebf2
commit
1980a867ff
|
|
@ -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'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue