You are here

function formatter_field_field_schema in Formatter Field 7

Implements hook_field_schema().

File

./formatter_field.install, line 9

Code

function formatter_field_field_schema($field) {
  return array(
    'columns' => array(
      'type' => array(
        'type' => 'varchar',
        'length' => '64',
        'not null' => FALSE,
      ),
      'settings' => array(
        'type' => 'text',
        'size' => 'big',
        'not null' => FALSE,
        'serialize' => TRUE,
      ),
    ),
  );
}