Removed DB2SchemaManager::_getPortableForeignKeyRuleDef()

parent 93f89e3f
# 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:
......
...@@ -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}
*/ */
......
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