Ignore has_one :through associations

The unique indexes should be enforced on the referenced table