Bristol SU Support Package
ActionHistory.php
Go to the documentation of this file.
1 <?php
2 
4 
7 
11 class ActionHistory extends Model
12 {
13 
14  protected $table = 'action_histories';
15 
16  protected $fillable = [
17  'action_instance_id', 'event_fields', 'settings', 'message', 'success'
18  ];
19 
20  protected $casts = [
21  'event_fields' => 'array',
22  'settings' => 'array',
23  'success' => 'boolean'
24  ];
25 
26  public function actionInstance()
27  {
28  return $this->belongsTo(ActionInstance::class);
29  }
30 
31 }