You are here

function quickbar_help_schema in Quickbar 7.2

File

modules/quickbar_help/quickbar_help.install, line 18

Code

function quickbar_help_schema() {
  $schema['quickbar_help'] = array(
    'description' => 'Holds help definitions.',
    'fields' => array(
      'hid' => array(
        'description' => 'The primary identifier for a help record.',
        'type' => 'serial',
        'unsigned' => TRUE,
        'not null' => TRUE,
      ),
      'rid' => array(
        'type' => 'int',
        'not null' => TRUE,
        'description' => 'Role ID of associated menu.',
      ),
      'text' => array(
        'type' => 'text',
        'not null' => TRUE,
        'size' => 'big',
        'description' => 'Help text.',
      ),
      'path' => array(
        'type' => 'varchar',
        'length' => 255,
        'not null' => TRUE,
        'default' => '',
        'description' => 'Shortcut path.',
      ),
      'format' => array(
        'type' => 'varchar',
        'length' => 255,
        'not null' => TRUE,
        'description' => 'filter_formats.format; for example, filtered_html.',
      ),
    ),
    'primary key' => array(
      'hid',
    ),
  );
  return $schema;
}