fix db tables to have school year
This commit is contained in:
@@ -12,9 +12,10 @@ class ExamModel extends Model
|
||||
|
||||
protected $allowedFields = [
|
||||
'student_id',
|
||||
'school_id',
|
||||
'student_school_id',
|
||||
'class_section_id',
|
||||
'exam_name',
|
||||
'school_year',
|
||||
'created_at'
|
||||
];
|
||||
|
||||
@@ -24,4 +25,4 @@ class ExamModel extends Model
|
||||
protected $updatedField = ''; // Set this if you later add an `updated_at` column
|
||||
|
||||
protected $returnType = 'array'; // You can change this to 'object' if preferred
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user