This commit is contained in:
parent
9d8cb481a7
commit
bbe6f1c2ea
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue