add two item in mission and create migration for them

This commit is contained in:
faezeh
2026-06-21 13:49:01 +03:30
parent 2aa9ae1455
commit bab99f7f89
4 changed files with 35 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ class Mission extends Model
{
use HasFactory;
protected $guarded = [];
protected $guarded = ['id'];
protected $hidden = ['pivot'];
protected $casts = [
'start_time' => 'datetime',