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', 'compared_to', 'TINYINT NOT NULL DEFAULT 1', 'metric_matched') ); } }