Scalr\Upgrade\Updates\Update20151229170824::run2 PHP Method

run2() protected method

protected run2 ( $stage )
    protected function run2($stage)
    {
        $this->console->out('Updating calc_function for BandWidth sensor');
        $this->db->Execute("UPDATE scaling_metrics SET calc_function = ? WHERE name = ?", array('avg', 'BandWidth'));
    }