fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
+2 -4
View File
@@ -2,8 +2,6 @@
namespace App\Models;
use App\Models\BaseModel;
class ClassPreparationLog extends BaseModel
{
protected $table = 'class_preparation_log';
@@ -22,7 +20,7 @@ class ClassPreparationLog extends BaseModel
protected $casts = [
'class_section_id' => 'integer',
// If prep_data is JSON in DB, use 'array' (or 'json') cast:
'prep_data' => 'array',
'prep_data' => 'array',
];
// Optional relationship
@@ -30,4 +28,4 @@ class ClassPreparationLog extends BaseModel
{
return $this->belongsTo(ClassSection::class, 'class_section_id');
}
}
}