Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
f650cfb5
Commit
f650cfb5
authored
Aug 10, 2014
by
Adrien Crivelli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compete BC notice with addUniqueIndex()
parent
64a9d922
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
UPGRADE.md
UPGRADE.md
+3
-3
Table.php
lib/Doctrine/DBAL/Schema/Table.php
+1
-1
No files found.
UPGRADE.md
View file @
f650cfb5
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
## BC BREAK: Doctrine\DBAL\Schema\Table
## BC BREAK: Doctrine\DBAL\Schema\Table
The method
``addIndex()``
in
``Doctrine\DBAL\Schema\Table``
has an additional,
The method
s
``addIndex()``
and
``addUniqueIndex()``
in
``Doctrine\DBAL\Schema\Table``
optional parameter. If you override this method, you should add this new parameter
hav an additional, optional parameter. If you override this method, you should
to the declaration of your overridden method.
add this new parameter
to the declaration of your overridden method.
## BC BREAK: Doctrine\DBAL\Connection
## BC BREAK: Doctrine\DBAL\Connection
...
...
lib/Doctrine/DBAL/Schema/Table.php
View file @
f650cfb5
...
@@ -197,7 +197,7 @@ class Table extends AbstractAsset
...
@@ -197,7 +197,7 @@ class Table extends AbstractAsset
*
*
* @return self
* @return self
*/
*/
public
function
addUniqueIndex
(
array
$columnNames
,
$indexName
=
null
,
$options
=
array
())
public
function
addUniqueIndex
(
array
$columnNames
,
$indexName
=
null
,
array
$options
=
array
())
{
{
if
(
$indexName
===
null
)
{
if
(
$indexName
===
null
)
{
$indexName
=
$this
->
_generateIdentifierName
(
$indexName
=
$this
->
_generateIdentifierName
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment