Browse Source

Update Story model, use immutable datetime

Daniel Supernault 3 years ago
parent
commit
588384543b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Story.php

+ 1 - 1
app/Story.php

@@ -22,7 +22,7 @@ class Story extends Model
     public $incrementing = false;
 
     protected $casts = [
-    	'expires_at' => 'immutable_datetime'
+    	'expires_at' => 'datetime'
     ];
 
     protected $fillable = ['profile_id', 'view_count'];