This commit is contained in:
parent
9d8cb481a7
commit
bbe6f1c2ea
@ -224,7 +224,7 @@ class Doctrine_Export_Frontbase extends Doctrine_Export
|
|||||||
$oldFieldName = $fieldName;
|
$oldFieldName = $fieldName;
|
||||||
}
|
}
|
||||||
$oldFieldName = $this->conn->quoteIdentifier($oldFieldName, true);
|
$oldFieldName = $this->conn->quoteIdentifier($oldFieldName, true);
|
||||||
$query.= "CHANGE $oldFieldName " . $this->conn->getDeclaration($field['definition']['type'], $oldFieldName, $field['definition']);
|
$query.= 'CHANGE ' . $oldFieldName . ' ' . $this->conn->getDeclaration($field['definition']['type'], $oldFieldName, $field['definition']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -244,7 +244,7 @@ class Doctrine_Export_Frontbase extends Doctrine_Export
|
|||||||
}
|
}
|
||||||
|
|
||||||
$name = $this->conn->quoteIdentifier($name, true);
|
$name = $this->conn->quoteIdentifier($name, true);
|
||||||
return $this->conn->exec("ALTER TABLE $name $query");
|
return $this->conn->exec('ALTER TABLE ' . $name . ' ' . $query);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* create sequence
|
* create sequence
|
||||||
|
Loading…
x
Reference in New Issue
Block a user