Possuo duas tabelas:
create table comunicacao(
item_fk bigint not null,
usuario_fk bigint not null,
primary key (item_fk, usuario_fk)
);
create table mensagem(
id bigserial not null,
texto text,
data_hora timestamp not null,
comunicacao_fk bigint not null,
usuario_fk bigint not null,
primary key(id)
);
Como adicionar uma chave estrangeira na tabela mensagem, a partir da chave primária de comunicação?