migration = $factory; } public function doUpdate(Updater $updater) { $updater->executeMigrations(__FILE__, $this->getMigrations($updater)); } public function getMigrations(Updater $updater) { return array( $this->migration->db->changeColumnType('alert', 'email_me', "BOOLEAN NOT NULL DEFAULT '0'"), $this->migration->db->changeColumnType('alert_triggered', 'email_me', "BOOLEAN NOT NULL DEFAULT '0'"), ); } }