migration = $factory; } public function doUpdate(Updater $updater) { $updater->executeMigrations(__FILE__, $this->getMigrations($updater)); } public function getMigrations(Updater $updater) { $migrations = []; $tables = ArchiveTableCreator::getTablesArchivesInstalled('numeric'); foreach ($tables as $table) { $migrations[] = $this->migration->db->sql("UPDATE `$table` SET `name` = 'done' WHERE `name` = 'done.'"); } return $migrations; } }