Roadbound-BRR/supabase/migrations/20260326213000_add_channel_description.sql

7 lines
211 B
SQL

alter table public.channels
add column if not exists description text not null default '';
update public.channels
set description = topic
where coalesce(description, '') = ''
and coalesce(topic, '') <> '';