aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/RandomLog.php2
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();
});