Index and UniqueConstraint autogeneration