'array', ]; public function messages() { return $this->hasMany(PlaygroundMessage::class, 'chat_id'); } }