$model->type = $channel->type;
$model->position = $channel->position;
$model->private = $channel->is_private;
+ $model->parent_id = $channel->parent_id;
$model->save();
}
public function guild() {
- return $this->belongsTo(DiscordGuild::class);
+ return $this->belongsTo(DiscordGuild::class, 'discord_guild_id');
}
protected $fillable = [