When I try to create a new channel (named “general”, same for the slug) the following error shows up in the logs (nothing is happening on frontend).
No “Closed” channels are shown.
I might have had a general channel in the past - and probably deleted it (is it default?)
Can not repro with another random slug (create > delete > create works just fine).
Failed to handle exception in exception app middleware : ActiveRecord::RecordNotUnique : PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_chat_channels_on_slug"
DETAIL: Key (slug)=(general) already exists.