Commit 7610d99e authored by lucassouza1's avatar lucassouza1

Change Oracle "drop column" syntax

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