Commit ada344f2 authored by Guilherme Blanco's avatar Guilherme Blanco

Merge pull request #34 from lucassouza1/master

Change Oracle "drop column" syntax
parents 48c78a2d 7610d99e
......@@ -555,7 +555,7 @@ LEFT JOIN all_cons_columns r_cols
$fields[] = $column->getQuotedName($this);
}
if (count($fields)) {
$sql[] = 'ALTER TABLE ' . $diff->name . ' DROP COLUMN ' . implode(', ', $fields);
$sql[] = 'ALTER TABLE ' . $diff->name . ' DROP (' . implode(', ', $fields).')';
}
if ($diff->newName !== false) {
......
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