Added if statement so that AUTO INCREMENT will not be added to non-INT primary keys.