mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #4489 from busgurlu/patch-1
to correctly return SET() type
This commit is contained in:
commit
a8c5b70b22
1 changed files with 3 additions and 0 deletions
|
@ -784,6 +784,9 @@ class Mysql extends DboSource {
|
|||
if (strpos($col, 'enum') !== false) {
|
||||
return "enum($vals)";
|
||||
}
|
||||
if (strpos($col, 'set') !== false) {
|
||||
return "set($vals)";
|
||||
}
|
||||
return 'text';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue