Sfoglia il codice sorgente

add protected $dates

visuddhinanda 2 anni fa
parent
commit
cdbb9b7daf
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7 0
      app/Models/Course.php

+ 7 - 0
app/Models/Course.php

@@ -14,4 +14,11 @@ class Course extends Model
     ];
     public  $incrementing = false;
 
+    protected $dates = [
+        'created_at',
+        'updated_at',
+        'start_at',
+        'end_at'
+    ];
+
 }