Commit dd0d8867 authored by Steve Müller's avatar Steve Müller

add initial BLOB type support in DB2

parent 6e6c4353
......@@ -30,7 +30,8 @@ class DB2Platform extends AbstractPlatform
*/
public function getBlobTypeDeclarationSQL(array $field)
{
throw DBALException::notSupported(__METHOD__);
// todo blob(n) with $field['length'];
return 'BLOB(1M)';
}
/**
......@@ -47,6 +48,7 @@ class DB2Platform extends AbstractPlatform
'varchar' => 'string',
'character' => 'string',
'clob' => 'text',
'blob' => 'blob',
'decimal' => 'decimal',
'double' => 'float',
'real' => 'float',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment