I've heard to mix something gritty in the soil would deter them because it scratches them. I haven't actually tried it, so I don't know if it works or not.