Sfoglia il codice sorgente

添加日期字段列表

visuddhinanda 2 anni fa
parent
commit
6db64523e1
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6 0
      app/Models/Sentence.php

+ 6 - 0
app/Models/Sentence.php

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