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
f526a8e8
Unverified
Commit
f526a8e8
authored
Jul 07, 2020
by
Sergei Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove AbstractPlatform::fixSchemaElementName()
parent
b74cb36c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
30 deletions
+1
-30
UPGRADE.md
UPGRADE.md
+1
-0
AbstractPlatform.php
src/Platforms/AbstractPlatform.php
+0
-15
OraclePlatform.php
src/Platforms/OraclePlatform.php
+0
-15
No files found.
UPGRADE.md
View file @
f526a8e8
...
...
@@ -141,6 +141,7 @@ The `Doctrine\DBAL\Driver::getName()` has been removed.
*
Removed
`MysqlSessionInit`
listener.
*
Removed
`MysqlPlatform::getCollationFieldDeclaration()`
.
*
Removed
`AbstractPlatform::getIdentityColumnNullInsertSQL()`
.
*
Removed
`AbstractPlatform::fixSchemaElementName()`
.
*
Removed
`Table::addUnnamedForeignKeyConstraint()`
and
`Table::addNamedForeignKeyConstraint()`
.
*
Removed
`Table::renameColumn()`
.
*
Removed
`SQLParserUtils::getPlaceholderPositions()`
.
...
...
src/Platforms/AbstractPlatform.php
View file @
f526a8e8
...
...
@@ -3380,21 +3380,6 @@ abstract class AbstractPlatform
return
$column
;
}
/**
* Makes any fixes to a name of a schema element (table, sequence, ...) that are required
* by restrictions of the platform, like a maximum length.
*
* @deprecated
*
* @param string $schemaElementName
*
* @return string
*/
public
function
fixSchemaElementName
(
$schemaElementName
)
{
return
$schemaElementName
;
}
/**
* Maximum length of any given database identifier, like tables or column names.
*
...
...
src/Platforms/OraclePlatform.php
View file @
f526a8e8
...
...
@@ -1088,21 +1088,6 @@ SQL
return
'1900-01-01 H:i:s'
;
}
/**
* {@inheritDoc}
*
* @deprecated
*/
public
function
fixSchemaElementName
(
$schemaElementName
)
{
if
(
strlen
(
$schemaElementName
)
>
30
)
{
// Trim it
return
substr
(
$schemaElementName
,
0
,
30
);
}
return
$schemaElementName
;
}
/**
* {@inheritDoc}
*/
...
...
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