7 lines
211 B
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, '') <> '';
|