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
d3d8568b
Unverified
Commit
d3d8568b
authored
Apr 15, 2019
by
Michael Moravec
Committed by
Sergei Morozov
Nov 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated Table::renameColumn()
parent
b14803f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
19 deletions
+1
-19
UPGRADE.md
UPGRADE.md
+1
-0
Table.php
lib/Doctrine/DBAL/Schema/Table.php
+0
-19
No files found.
UPGRADE.md
View file @
d3d8568b
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
*
Removed
`MysqlPlatform::getCollationFieldDeclaration()`
.
*
Removed
`MysqlPlatform::getCollationFieldDeclaration()`
.
*
Removed
`AbstractPlatform::getIdentityColumnNullInsertSQL()`
.
*
Removed
`AbstractPlatform::getIdentityColumnNullInsertSQL()`
.
*
Removed
`Table::addUnnamedForeignKeyConstraint()`
and
`Table::addNamedForeignKeyConstraint()`
.
*
Removed
`Table::addUnnamedForeignKeyConstraint()`
and
`Table::addNamedForeignKeyConstraint()`
.
*
Removed
`Table::renameColumn()`
.
*
Removed
`SQLParserUtils::getPlaceholderPositions()`
.
*
Removed
`SQLParserUtils::getPlaceholderPositions()`
.
*
`SQLParserUtils::*_TOKEN`
constants made private.
*
`SQLParserUtils::*_TOKEN`
constants made private.
...
...
lib/Doctrine/DBAL/Schema/Table.php
View file @
d3d8568b
...
@@ -303,25 +303,6 @@ class Table extends AbstractAsset
...
@@ -303,25 +303,6 @@ class Table extends AbstractAsset
return
$column
;
return
$column
;
}
}
/**
* Renames a Column.
*
* @deprecated
*
* @param string $oldColumnName
* @param string $newColumnName
*
* @throws DBALException
*/
public
function
renameColumn
(
$oldColumnName
,
$newColumnName
)
{
throw
new
DBALException
(
'Table#renameColumn() was removed, because it drops and recreates the column instead. '
.
'There is no fix available, because a schema diff cannot reliably detect if a column '
.
'was renamed or one column was created and another one dropped.'
);
}
/**
/**
* Change Column Details.
* Change Column Details.
*
*
...
...
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