add validation: foreignId Unique