Oracle Message ORA-22893 - constraint can be specified only for REF columns

ERRORconstraint can be specified only for REF columns
CAUSEThe constraint specified does not apply to non-REF columns.
ACTIONRemove the constraint and retry the operation.