diff options
| author | Camil Staps | 2021-04-13 08:49:50 +0200 | 
|---|---|---|
| committer | Camil Staps | 2021-04-13 08:49:50 +0200 | 
| commit | 63291574c1aaabecdbff1cbe52d13dbb0d998bf5 (patch) | |
| tree | 82ccc6756bad7e34efe42aa53498ae33528d6ff2 /app/RandomLog.php | |
| parent | Update to Laravel 5.6 (diff) | |
Update to Laravel 5.7
Diffstat (limited to 'app/RandomLog.php')
| -rw-r--r-- | app/RandomLog.php | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/app/RandomLog.php b/app/RandomLog.php index c0d22a8..6d77570 100644 --- a/app/RandomLog.php +++ b/app/RandomLog.php @@ -27,6 +27,8 @@ class RandomLog extends Model {  	protected $fillable = ['request', 'response'];  	public static function boot() { +		parent::boot(); +  		static::creating(function ($model) {  			$model->created_at = $model->freshTimestamp();  		}); | 
