aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/RandomLog.php2
-rw-r--r--composer.json2
-rw-r--r--storage/framework/cache/.gitignore1
-rw-r--r--storage/framework/cache/data/.gitignore2
4 files changed, 6 insertions, 1 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();
});
diff --git a/composer.json b/composer.json
index 7275123..39f91cb 100644
--- a/composer.json
+++ b/composer.json
@@ -7,7 +7,7 @@
"require": {
"php": ">=7.1.3",
"fideloper/proxy": "^4.0",
- "laravel/framework": "5.6.*",
+ "laravel/framework": "5.7.*",
"doctrine/dbal": "^2.5"
},
"require-dev": {
diff --git a/storage/framework/cache/.gitignore b/storage/framework/cache/.gitignore
index d6b7ef3..01e4a6c 100644
--- a/storage/framework/cache/.gitignore
+++ b/storage/framework/cache/.gitignore
@@ -1,2 +1,3 @@
*
+!data/
!.gitignore
diff --git a/storage/framework/cache/data/.gitignore b/storage/framework/cache/data/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/storage/framework/cache/data/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore