ALTER TABLE application RENAME COLUMN eonid TO eon_id;
ALTER TABLE application ADD CONSTRAINT application_grn_fk FOREIGN KEY (eon_id) REFERENCES grn (eon_id);

QUIT;

ALTER TABLE application RENAME COLUMN eonid TO eon_id;
ALTER TABLE application RENAME CONSTRAINT application_eonid_nn TO application_eon_id_nn;
ALTER TABLE application ADD CONSTRAINT application_grn_fk FOREIGN KEY (eon_id) REFERENCES grn (eon_id);

QUIT;

Fix constraint name after the column renaming
Fix constraint name after the column renaming

Change-Id: I0dea2f3016cd5dfc956fbb1c5eafc21b2017a059
