Browse Source

添加日期字段列表

visuddhinanda 2 years ago
parent
commit
6db64523e1
1 changed files with 6 additions and 0 deletions
  1. 6 0
      app/Models/Sentence.php

+ 6 - 0
app/Models/Sentence.php

@@ -17,4 +17,10 @@ class Sentence extends Model
         'uid' => 'string'
         'uid' => 'string'
     ];
     ];
 
 
+    protected $dates = [
+        'created_at',
+        'updated_at',
+        'fork_at'
+    ];
+
 }
 }