xiaogang 4 vuotta sitten
vanhempi
commit
b692f86298
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      app/Models/ChatList.php

+ 2 - 0
app/Models/ChatList.php

xqd
@@ -10,6 +10,8 @@ class ChatList extends Model
 {
 	use HasDateTimeFormatter;
     protected $table = 'chat_list';
+
+    protected $fillable = ['user_id', 'to_user_id','last_msg','last_time','atime','un_read'];
     public $timestamps = false;
 
 }