Agregue la clave extranjera a la tabla existente Postgres
ALTER TABLE table_a
ADD FOREIGN KEY (col_table_a) REFERENCES table_b(pk_table_b);
Energetic Eland
ALTER TABLE table_a
ADD FOREIGN KEY (col_table_a) REFERENCES table_b(pk_table_b);