Commit cfbcc8d4 authored by zYne's avatar zYne

gzip support

parent d938e6a9
......@@ -67,6 +67,7 @@ class Doctrine_DataDict_Firebird extends Doctrine_DataDict
case 'object':
case 'char':
case 'text':
case 'gzip':
$length = !empty($field['length'])
? $field['length'] : 16777215; // TODO: $this->conn->options['default_text_field_length'];
......
......@@ -69,6 +69,7 @@ class Doctrine_DataDict_Mssql extends Doctrine_DataDict
case 'char':
case 'varchar':
case 'string':
case 'gzip':
$length = !empty($field['length'])
? $field['length'] : false;
......
......@@ -147,7 +147,7 @@ class Doctrine_DataDict_Mysql extends Doctrine_DataDict
case 'array':
case 'object':
case 'string':
case 'gzip':
if ( ! isset($field['length'])) {
if (array_key_exists('default', $field)) {
$field['length'] = $this->conn->varchar_max_length;
......
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