You are here

function fe_nodequeue_schema in Features Extra 6

Implementation of hook_schema().

File

./fe_nodequeue.install, line 31

Code

function fe_nodequeue_schema() {
  $schema['fe_nodequeue_queue'] = array(
    'description' => '',
    'export' => array(
      'key' => 'machine_name',
      'can disable' => FALSE,
    ),
    'fields' => array(
      'qid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'default' => 0,
        'no export' => TRUE,
      ),
      'machine_name' => array(
        'description' => 'machine_name',
        'type' => 'varchar',
        'length' => 32,
        'not null' => TRUE,
        'default' => '',
      ),
    ),
    'indexes' => array(
      'machine_name' => array(
        'machine_name',
      ),
    ),
    'primary key' => array(
      'qid',
    ),
  );
  return $schema;
}