diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-10-17 01:30:10 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2018-10-31 13:43:23 +0100 |
commit | a2aaba9cab6b7bdf755a023ed2503cf8cf46925a (patch) | |
tree | 04275448599cc8ffaf908b3d7fcc984d822f6a17 /src | |
parent | d7aea575ff77cd37c326511e7ac5fe49067c63ad (diff) |
User: Bugfixes & code cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/Models/User/State.php | 5 |
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', |