1
0
mirror of synced 2025-01-18 22:41:43 +03:00
This commit is contained in:
zYne 2007-05-18 09:35:00 +00:00
parent 9d8cb481a7
commit bbe6f1c2ea

View File

@ -224,7 +224,7 @@ class Doctrine_Export_Frontbase extends Doctrine_Export
$oldFieldName = $fieldName;
}
$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);
return $this->conn->exec("ALTER TABLE $name $query");
return $this->conn->exec('ALTER TABLE ' . $name . ' ' . $query);
}
/**
* create sequence