Commit f650cfb5 authored by Adrien Crivelli's avatar Adrien Crivelli

Compete BC notice with addUniqueIndex()

parent 64a9d922
......@@ -2,9 +2,9 @@
## BC BREAK: Doctrine\DBAL\Schema\Table
The method ``addIndex()`` in ``Doctrine\DBAL\Schema\Table`` has an additional,
optional parameter. If you override this method, you should add this new parameter
to the declaration of your overridden method.
The methods ``addIndex()`` and ``addUniqueIndex()`` in ``Doctrine\DBAL\Schema\Table``
hav an additional, optional parameter. If you override this method, you should
add this new parameter to the declaration of your overridden method.
## BC BREAK: Doctrine\DBAL\Connection
......
......@@ -197,7 +197,7 @@ class Table extends AbstractAsset
*
* @return self
*/
public function addUniqueIndex(array $columnNames, $indexName = null, $options = array())
public function addUniqueIndex(array $columnNames, $indexName = null, array $options = array())
{
if ($indexName === null) {
$indexName = $this->_generateIdentifierName(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment