Skip to content

Commit

Permalink
to correctly return SET() type
Browse files Browse the repository at this point in the history
  • Loading branch information
busgurlu committed Sep 4, 2014
1 parent f82fd2d commit 996ad04
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 996ad04

Please sign in to comment.