When you create a foreign key the table/column you reference must be either primary key or unique key.