]> git.localhorst.tv Git - alttp.git/blobdiff - app/Models/Event.php
sync episode channels
[alttp.git] / app / Models / Event.php
index 44bc69be067f3722f0bb6e9b8b37a94147becb3d..b566dbb5553925e36ba26bba2ce7ae44ad3d1964 100644 (file)
@@ -15,7 +15,14 @@ class Event extends Model
        }
 
        protected $casts = [
+               'end' => 'datetime',
+               'start' => 'datetime',
                'visible' => 'boolean',
        ];
 
+       protected $hidden = [
+               'created_at',
+               'updated_at',
+       ];
+
 }