export & migration fix
This commit is contained in:
parent
d9e213a2cf
commit
29c220f482
@ -908,7 +908,7 @@ class Doctrine_Export extends Doctrine_Connection_Module
|
||||
{
|
||||
$sql = '';
|
||||
if (isset($definition['name'])) {
|
||||
$sql .= 'CONSTRAINT ' . $this->conn->quoteIdentifier($definition['name']) . ' ';
|
||||
$sql .= ' ' . $this->conn->quoteIdentifier($definition['name']) . ' ';
|
||||
}
|
||||
$sql .= 'FOREIGN KEY (';
|
||||
|
||||
|
@ -418,7 +418,7 @@ class Doctrine_Migration
|
||||
* @param string $constraintName
|
||||
* @return void
|
||||
*/
|
||||
public function dropConstraint($tableName, $constraintName, $primary)
|
||||
public function dropConstraint($tableName, $constraintName, $primary = false)
|
||||
{
|
||||
$options = get_defined_vars();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user