summaryrefslogtreecommitdiff
path: root/src/Models/User
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-10-17 01:30:10 +0200
committermsquare <msquare@notrademark.de>2018-10-31 13:43:23 +0100
commita2aaba9cab6b7bdf755a023ed2503cf8cf46925a (patch)
tree04275448599cc8ffaf908b3d7fcc984d822f6a17 /src/Models/User
parentd7aea575ff77cd37c326511e7ac5fe49067c63ad (diff)
User: Bugfixes & code cleanup
Diffstat (limited to 'src/Models/User')
-rw-r--r--src/Models/User/State.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Models/User/State.php b/src/Models/User/State.php
index 93bb8590..e12aa5e1 100644
--- a/src/Models/User/State.php
+++ b/src/Models/User/State.php
@@ -22,6 +22,11 @@ class State extends HasUserModel
/** @var string The table associated with the model */
protected $table = 'users_state';
+ /** @var array The attributes that should be mutated to dates */
+ protected $dates = [
+ 'arrival_date',
+ ];
+
/** The attributes that are mass assignable */
protected $fillable = [
'user_id',