You are here

function sheetnode_field_schema_7001 in Sheetnode 7.2

Same name and namespace in other branches
  1. 7 sheetnode.install \sheetnode_field_schema_7001()

Schema function.

File

./sheetnode.install, line 154
Install, update and uninstall functions for the sheetnode module.

Code

function sheetnode_field_schema_7001($field) {
  $columns = array(
    'value' => array(
      'description' => 'The worksheet content.',
      'type' => 'text',
      'size' => 'big',
      'not null' => TRUE,
    ),
  );
  $indexes = array();
  return array(
    'columns' => $columns,
    'indexes' => $indexes,
  );
}