migration = $factory; } public function getMigrations(Updater $updater) { return [ $this->migration->db->addColumn('report', 'evolution_graph_within_period', 'TINYINT(4) NOT NULL DEFAULT 0'), $this->migration->db->addColumn('report', 'evolution_graph_period_n', 'INT(11) NULL'), ]; } public function doUpdate(Updater $updater) { $updater->executeMigrations(__FILE__, $this->getMigrations($updater)); } }