Added required data import before field constraint is added