1
0
mirror of synced 2025-01-31 12:32:59 +03:00

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

This commit is contained in:
beberlei 2010-01-31 11:50:34 +00:00
parent f6d17b79d8
commit 3bec7689a7

View File

@ -424,7 +424,7 @@ class SchemaTool
} }
if (isset($joinColumn['unique']) && $joinColumn['unique'] == true) { if (isset($joinColumn['unique']) && $joinColumn['unique'] == true) {
$uniqueConstraints[] = array('columns' => $columnName); $uniqueConstraints[] = array('columns' => array($columnName));
} }
if (isset($joinColumn['onUpdate'])) { if (isset($joinColumn['onUpdate'])) {