Oracle Message ORA-25158 - Cannot specify RELY for foreign key if the associated primary key is NORELY

ERRORCannot specify RELY for foreign key if the associated primary key is NORELY
CAUSERELY is specified for the foreign key contraint, when the associated primary key constraint is NORELY.
ACTIONChange the option of the primary key also to RELY.