瀏覽代碼

Update Story model, use immutable datetime

Daniel Supernault 3 年之前
父節點
當前提交
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'];