Piwik\Plugins\Goals\Updates_3_0_0_b1::getMigrations PHP Метод

getMigrations() публичный Метод

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