From a2aaba9cab6b7bdf755a023ed2503cf8cf46925a Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Wed, 17 Oct 2018 01:30:10 +0200 Subject: User: Bugfixes & code cleanup --- src/Models/User/State.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Models/User/State.php') 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', -- cgit v1.2.3-54-g00ecf