Commit 3bec7689 authored by beberlei's avatar beberlei

[2.0] Fixed little invalid string where array is necesary bug in SchemaTool

parent f6d17b79
......@@ -424,7 +424,7 @@ class SchemaTool
}
if (isset($joinColumn['unique']) && $joinColumn['unique'] == true) {
$uniqueConstraints[] = array('columns' => $columnName);
$uniqueConstraints[] = array('columns' => array($columnName));
}
if (isset($joinColumn['onUpdate'])) {
......
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