Skip to content

Commit 55a27d1

Browse files
committed
sqlsrv blob support
1 parent 1121259 commit 55a27d1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

system/Database/SQLSRV/Forge.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,11 @@ protected function _attributeType(array &$attributes)
397397
$attributes['TYPE'] = 'BIT';
398398
break;
399399

400+
case 'BLOB':
401+
$attributes['TYPE'] = 'VARBINARY';
402+
$attributes['CONSTRAINT'] ??= 'MAX';
403+
break;
404+
400405
default:
401406
break;
402407
}

0 commit comments

Comments
 (0)