addSql("UPDATE attachments SET class_name = 'Part' WHERE class_name = 'PartDB\Part'"); $this->addSql("UPDATE attachments SET class_name = 'Device' WHERE class_name = 'PartDB\Device'"); } public function down(Schema $schema): void { //No down required, as the new format can also be read by older Part-DB version } }