update: add field on literacy question models
This commit is contained in:
parent
468c167020
commit
3fd262c8c1
|
|
@ -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()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user