migration = $factory; } public function doUpdate(Updater $updater) { $updater->executeMigrations(__FILE__, $this->getMigrations($updater)); } public function getMigrations(Updater $updater) { return array( $this->migration->db->addColumn('alert_log', 'ts_last_sent', 'timestamp NULL DEFAULT NULL', 'ts_triggered') ->addErrorCodeToIgnore(Updater\Migration\Db::ERROR_CODE_TABLE_NOT_EXISTS) ); } }