-- Параллельно PostgreSQL: community + title, без kind (SQLite 3.35+).
ALTER TABLE bgp_community ADD COLUMN title TEXT NOT NULL DEFAULT '';

UPDATE bgp_community SET title = trim(name) WHERE title = '';

ALTER TABLE bgp_community DROP COLUMN kind;

ALTER TABLE bgp_community RENAME COLUMN name TO community;
