Set sequences DEFAULT nextval only if id is integer