Commit 8622cb3f authored by Jonathan H. Wage's avatar Jonathan H. Wage

[2.0][DBAL][DWEB-51] Fixing code example for schema manager

parent 3159f7ee
......@@ -135,7 +135,7 @@ Now we can clone the `$fromSchema` to `$toSchema` and drop a table:
Now we can compare the two schema instances in order to calculate the differences between them and return the sql required to make the changes on the database:
[php]
$sql = $fromSchema->getMigrateToSql($toSchema);
$sql = $fromSchema->getMigrateToSql($toSchema, $conn->getDatabasePlatform());
The `$sql` array should give you a sql query to drop the user table:
......
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