Piwik\Updater\Migration\Db\Factory::dropColumn PHP Method

dropColumn() public method

Drops an existing database table column.
public dropColumn ( string $table, string $columnName ) : DropColumn
$table string Unprefixed database table name, eg 'log_visit'.
$columnName string The name of the column that shall be dropped, eg 'my_column_name'.
return DropColumn
    public function dropColumn($table, $columnName)
    {
        $table = $this->prefixTable($table);
        return $this->container->make('Piwik\\Updater\\Migration\\Db\\DropColumn', array('table' => $table, 'columnName' => $columnName));
    }