Skip to content

Commit

Permalink
Merge pull request #4489 from busgurlu/patch-1
Browse files Browse the repository at this point in the history
to correctly return SET() type
  • Loading branch information
markstory committed Oct 30, 2014
2 parents 1e8f12f + 996ad04 commit a8c5b70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Cake/Model/Datasource/Database/Mysql.php
Expand Up @@ -784,6 +784,9 @@ public function column($real) {
if (strpos($col, 'enum') !== false) {
return "enum($vals)";
}
if (strpos($col, 'set') !== false) {
return "set($vals)";
}
return 'text';
}

Expand Down

0 comments on commit a8c5b70

Please sign in to comment.