ソースを参照

Update Story model, use immutable datetime

Daniel Supernault 4 年 前
コミット
588384543b
1 ファイル変更1 行追加1 行削除
  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'];