update patch to change order of min, max, deafult fields on schema.