migration = $factory; } public function getMigrations(Updater $updater) { return array( $this->migration->db->changeColumn('pdf', 'aggregate_reports_format', 'display_format', 'TINYINT(1) NOT NULL') ); } public function doUpdate(Updater $updater) { try { $updater->executeMigrations(__FILE__, $this->getMigrations($updater)); } catch (\Exception $e) { } } }