removed unique contraint for type field from Identity entity (daft that was)