Under section 626.8431, the license of a peace officer convicted of a felony is automatically revoked.