At this point you could just point Claude code at the database and the image folder and ask it to write a migration script