remove codeigniter
This commit is contained in:
@@ -8,7 +8,7 @@ class ExamDraft extends BaseModel
|
||||
{
|
||||
protected $table = 'exam_drafts';
|
||||
|
||||
// ✅ CI: useTimestamps = true (created_at/updated_at)
|
||||
// ✅ legacy: useTimestamps = true (created_at/updated_at)
|
||||
public $timestamps = true;
|
||||
|
||||
protected $fillable = [
|
||||
@@ -55,7 +55,7 @@ class ExamDraft extends BaseModel
|
||||
];
|
||||
|
||||
/**
|
||||
* CI had updateOnlyChanged=false (force updates even if nothing changed).
|
||||
* legacy had updateOnlyChanged=false (force updates even if nothing changed).
|
||||
* In Laravel, you can force a save by calling:
|
||||
* $model->touch(); // updates updated_at only
|
||||
* or
|
||||
|
||||
Reference in New Issue
Block a user