aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2021-04-13 08:49:50 +0200
committerCamil Staps2021-04-13 08:49:50 +0200
commit63291574c1aaabecdbff1cbe52d13dbb0d998bf5 (patch)
tree82ccc6756bad7e34efe42aa53498ae33528d6ff2
parentUpdate to Laravel 5.6 (diff)
Update to Laravel 5.7
-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