Commit 531d8a69 authored by Steve Müller's avatar Steve Müller

fix rename table statement in DB2

parent 6f1f3fa8
...@@ -556,7 +556,7 @@ class DB2Platform extends AbstractPlatform ...@@ -556,7 +556,7 @@ class DB2Platform extends AbstractPlatform
); );
if ($diff->newName !== false) { if ($diff->newName !== false) {
$sql[] = 'RENAME TABLE TO ' . $diff->newName; $sql[] = 'RENAME TABLE ' . $diff->name . ' TO ' . $diff->newName;
} }
} }
......
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