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
c8ce84b5
Unverified
Commit
c8ce84b5
authored
Mar 29, 2019
by
Sergei Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed DB2SchemaManager::_getPortableForeignKeyRuleDef()
parent
93f89e3f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
16 deletions
+4
-16
UPGRADE.md
UPGRADE.md
+4
-0
DB2SchemaManager.php
lib/Doctrine/DBAL/Schema/DB2SchemaManager.php
+0
-16
No files found.
UPGRADE.md
View file @
c8ce84b5
# Upgrade to 3.0
# Upgrade to 3.0
## BC BREAK `DB2SchemaManager::_getPortableForeignKeyRuleDef()` removed
The method was used internally and is no longer needed.
## BC BREAK `AbstractPlatform::get*Expression()` methods no loner accept integer values as arguments
## BC BREAK `AbstractPlatform::get*Expression()` methods no loner accept integer values as arguments
The following methods' arguments do not longer accept integer value:
The following methods' arguments do not longer accept integer value:
...
...
lib/Doctrine/DBAL/Schema/DB2SchemaManager.php
View file @
c8ce84b5
...
@@ -181,22 +181,6 @@ class DB2SchemaManager extends AbstractSchemaManager
...
@@ -181,22 +181,6 @@ class DB2SchemaManager extends AbstractSchemaManager
return
parent
::
_getPortableTableForeignKeysList
(
$foreignKeys
);
return
parent
::
_getPortableTableForeignKeysList
(
$foreignKeys
);
}
}
/**
* {@inheritdoc}
*/
protected
function
_getPortableForeignKeyRuleDef
(
$def
)
{
if
(
$def
===
'C'
)
{
return
'CASCADE'
;
}
if
(
$def
===
'N'
)
{
return
'SET NULL'
;
}
return
null
;
}
/**
/**
* {@inheritdoc}
* {@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