Changed digit num for storing as integer field in db