Update models.

This commit is contained in:
James Cole
2017-11-03 16:04:17 +01:00
parent a664451913
commit ac801c8b86
31 changed files with 115 additions and 132 deletions

View File

@@ -39,14 +39,12 @@ class RuleTrigger extends Model
*/
protected $casts
= [
'created_at' => 'date',
'updated_at' => 'date',
'created_at' => 'datetime',
'updated_at' => 'datetime',
'active' => 'boolean',
'order' => 'int',
'stop_processing' => 'boolean',
];
/** @var array */
protected $dates = ['created_at', 'updated_at'];
/**
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo