How do I increase the number of characters accepted by MySQL? This is how I've defined the content_body in my FieldWidget:

$widget['content_body'] = array(
  '#title' =&gt; $this-&gt;t('Body text'),
  '#type' =&gt; 'textarea',
  '#default_value' =&gt; isset($items[$delta]) ? $items[$delta]-&gt;content_body : '',
);


which allows me to enter more than 255 characters when editing/creating the content. However, I get an error when more than 255 characters are entered and the content is created/updated.

This is the schema in my FieldType class:

$schema['columns']['content_body'] = array(
  'type' =&gt; 'text',
  'size' =&gt; 'tiny',
  'not null' =&gt; FALSE,
);
Use field type as  Text (formatted, long) or Text (formatted, long, with summary)