src/Model/Table/EmailQueueTable.php
protected function _initializeSchema(TableSchema $schema)
    {
        $type = Configure::read('EmailQueue.serialization_type') ?: 'email_queue.serialize';
        $schema->setColumnType('template_vars', $type);
        $schema->setColumnType('headers', $type);
        $schema->setColumnType('attachments', $type);

        return $schema;
    }
protected function _initializeSchema(TableSchema $schema)
    {
        $type = Configure::read('EmailQueue.serialization_type') ?: 'email_queue.serialize';
        $schema->setColumnType('template_vars', $type);
        $schema->setColumnType('headers', $type);
        $schema->setColumnType('attachments', $type);

        return $schema;
    }
protected function _initializeSchema ( TableSchema $ schema ) { $ type = Configure :: read ( 'EmailQueue.serialization_type' ) ? : 'email_queue.serialize' ; $ schema -> setColumnType ( 'template_vars' , $ type ) ; $ schema -> setColumnType ( 'headers' , $ type ) ; $ schema -> setColumnType ( 'attachments' , $ type ) ; return $ schema ; }
Sets the column type for template_vars and headers to json.

@param TableSchema $schema The table description
@return TableSchema
Sets the column type for template_vars and headers to json .