You are here

function webformblock_schema in Webform Block 6.3

Same name and namespace in other branches
  1. 6 webformblock.install \webformblock_schema()

Define the 'webform_block' table structure.

Return value

The schema which contains the structure for the webformblock module's table.

File

./webformblock.install, line 14
Webform Block module install file.

Code

function webformblock_schema() {
  $schema['webform_block'] = array(
    'fields' => array(
      'nid' => array(
        'type' => 'int',
        'not null' => TRUE,
        'disp-width' => '11',
      ),
    ),
    'primary key' => array(
      'nid',
    ),
  );
  return $schema;
}