create table campaign_text
  (
    uuid char(32),
    texttype char(1),
    lfd integer,
    text lvarchar(4096)
  );

create unique index ndx_campaign_text on campaign_text(uuid,texttype,lfd);

insert into campaign_text select uuid, 'L', 1, letter_text from campaign;
insert into campaign_text select uuid, 'M', 1, mail_text from campaign;