Perhaps you could do it via the rails console using this method (I’d backup first and do it at a quiet time!):