update: add field on literacy question models

This commit is contained in:
abiyasa05 2025-06-21 14:15:53 +07:00
parent 468c167020
commit 3fd262c8c1

View File

@ -10,7 +10,7 @@ class LiteracyQuestion extends Model
use HasFactory; use HasFactory;
protected $table = 'literacy_questions'; protected $table = 'literacy_questions';
protected $fillable = ['question_text', 'type', 'essay_answer', 'essay_score']; protected $fillable = ['material_id', 'question_text', 'type', 'essay_answer', 'essay_score'];
public function material() public function material()
{ {