Explorar o código

Update Story model, use immutable datetime

Daniel Supernault %!s(int64=3) %!d(string=hai) anos
pai
achega
588384543b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'];