update controllers logic
This commit is contained in:
Executable → Regular
+4
-6
@@ -9,16 +9,14 @@ class EmailTemplate extends BaseModel
|
||||
protected $table = 'email_templates';
|
||||
|
||||
// CI model didn't specify timestamps; keep off unless your table has created_at/updated_at.
|
||||
public $timestamps = false;
|
||||
public $timestamps = true;
|
||||
|
||||
protected $fillable = [
|
||||
'code',
|
||||
'variant',
|
||||
'template_key',
|
||||
'name',
|
||||
'subject',
|
||||
'body_html',
|
||||
'body',
|
||||
'is_active',
|
||||
'updated_by',
|
||||
'updated_at',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
|
||||
Reference in New Issue
Block a user