Fixed #23338 -- Added warning when unique=True on ForeigKey

Added a warning when unique is set to True on a ForeignKey, telling
the user to replace it with a OneToOneField and remove unique=True.