Commit bbe6f1c2 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 9d8cb481
...@@ -224,7 +224,7 @@ class Doctrine_Export_Frontbase extends Doctrine_Export ...@@ -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 ...@@ -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
......
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