Ver código fonte

Update Story model, use immutable datetime

Daniel Supernault 3 anos atrás
pai
commit
588384543b
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Story.php

+ 1 - 1
app/Story.php

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