init
All checks were successful
Deploy to Production / deploy (push) Successful in 14s

This commit is contained in:
梁朝伟 2024-11-14 10:37:25 +08:00
parent 2b59b0ec7e
commit 5919e1df2d

View File

@ -15,8 +15,7 @@
*/ */
class Activity extends Model class Activity extends Model
{ {
public const CREATED_AT = 'date_created'; public $timestamps = false;
public const UPDATED_AT = 'date_updated';
protected $table = 'bydauto_activity'; protected $table = 'bydauto_activity';
protected $fillable = ['name', 'content', 'related_id', 'related_type']; protected $fillable = ['name', 'content', 'related_id', 'related_type'];
protected $casts = ['content' => 'json']; protected $casts = ['content' => 'json'];