mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Adding 'binary' column support to MySQL (Ticket #1757)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5826 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
bc28d91b40
commit
5f0b855632
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ class DboMysql extends DboSource {
|
|||
if (strpos($col, 'text') !== false) {
|
||||
return 'text';
|
||||
}
|
||||
if (strpos($col, 'blob') !== false) {
|
||||
if (strpos($col, 'blob') !== false || $col == 'binary') {
|
||||
return 'binary';
|
||||
}
|
||||
if (in_array($col, array('float', 'double', 'decimal'))) {
|
||||
|
|
Loading…
Reference in a new issue