You are here

function icon_field_field_schema in Icon API 7

Implements hook_field_schema().

File

modules/icon_field/icon_field.install, line 10
icon_field.install

Code

function icon_field_field_schema($field) {
  return array(
    'columns' => array(
      'bundle' => array(
        'type' => 'varchar',
        'length' => 64,
        'not null' => FALSE,
      ),
      'icon' => array(
        'type' => 'varchar',
        'length' => 64,
        'not null' => FALSE,
      ),
    ),
  );
}