Database connection not configured suggests you are not using channels as a table name, but rather a connection key. Do you have a Model with a $connection property assigned to 'channels'?
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Channel extends Model
{
use HasFactory;
public function getRouteKeyName()
{
return 'slug';
}
public function threads()
{
return $this->hasMany(Thread::class);
}
}
That's not enlightened me any... what about your .env and your config/database.php; have you inadvertently added channels as the default connection / DB_CONNECTION?