Piwik\Plugins\Goals\Updates_3_0_0_b1::getMigrations PHP Method

getMigrations() public method

Here you can define one or multiple SQL statements that should be executed during the update.
public getMigrations ( Updater $updater ) : Migration[]
$updater Piwik\Updater
return Piwik\Updater\Migration[]
    public function getMigrations(Updater $updater)
    {
        return array($this->migration->db->addColumn('goal', 'description', 'VARCHAR(255) NOT NULL DEFAULT \'\'', 'name'));
    }