Migrate images table