I was trying to create an fk in oracle but ran into ORA-02270 problems. After some googling, I found the reason is that you can't create fk towards unique index. It need to be a unique constraint.
I also have read Oracle unique constraint and unique index and it explained well that index and constraint are different things.
What I don't understand is, WHY oracle doesn't allow creating fk on unique index? I think it's perfectly reasonable. Besides, I also tried Postgres and it has no problem of doing this.