This commit is contained in:
parent
2b59b0ec7e
commit
5919e1df2d
@ -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'];
|
||||||
|
Loading…
Reference in New Issue
Block a user