protected function _getTablePkDeclaration(array $primaryKey, $autoIncrement)
    {
        foreach ($primaryKey as &$column) {
            $column = $this->prepareIdentifier($column);
        }
        return ",\nPRIMARY KEY (" . implode(', ', $primaryKey) .  ')';
    }
protected function _getTablePkDeclaration(array $primaryKey, $autoIncrement)
    {
        foreach ($primaryKey as &$column) {
            $column = $this->prepareIdentifier($column);
        }
        return ",\nPRIMARY KEY (" . implode(', ', $primaryKey) .  ')';
    }
protected function _getTablePkDeclaration ( array $ primaryKey , $ autoIncrement ) { foreach ( $ primaryKey as & $ column ) { $ column = $ this -> prepareIdentifier ( $ column ) ; } return ",\nPRIMARY KEY (" . implode ( ', ' , $ primaryKey ) . ')' ; }
Get the declaration for a table's primary key

This is called by createTable() to get the PRIMARY KEY declaration to be
inserted into a CREATE TABLE statement. The default implementation
unconditionally returns ", PRIMARY KEY ($column[,$column...])". Other
implementations may override this, depending on $autoIncrement.

@param array $primaryKey Array of column names for PK
@param bool $autoIncrement Whether the table has an autoincrement column
@return string
Get the declaration for a table s primary key