DMail Milestone 1.0
Drupal Mail Client
dmail_headers_by_mbox_table.schema File Reference

Go to the source code of this file.

Functions

 dmail_headers_by_mbox_table ()

Function Documentation

dmail_headers_by_mbox_table ( )

Definition at line 2 of file dmail_headers_by_mbox_table.schema.

Referenced by dmail_schema_0().

                                       {
  return array(
    'fields' => array(
      'msgid' => array(
        'type' => 'char',
        'length' => 64,
        'description' => 'The md5 of the from and the md5 of the message_id.',
        'not null' => TRUE,
      ),
      'mbox_id' => array(
        'type' => 'int',
        'size' => 'big',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'default' => 0,
      ),
      'uid' => array(
        'type' => 'int',
        'size' => 'big',
        'unsigned' => TRUE,
        'default' => 0,
      ),
      'msgno' => array(
        'type' => 'int',
        'size' => 'big',
        'unsigned' => TRUE,
        'default' => 0,
      ),
      'recent' => array(
        'type' => 'int',
        'size' => 'tiny',
        'unsigned' => TRUE,
        'default' => 0,
      ),
      'flagged' => array(
        'type' => 'int',
        'size' => 'tiny',
        'unsigned' => TRUE,
        'default' => 0,
      ),
      'answered' => array(
        'type' => 'int',
        'size' => 'tiny',
        'unsigned' => TRUE,
        'default' => 0,
      ),
      'deleted' => array(
        'type' => 'int',
        'size' => 'tiny',
        'unsigned' => TRUE,
        'default' => 0,
      ),
      'seen' => array(
        'type' => 'int',
        'size' => 'tiny',
        'unsigned' => TRUE,
        'default' => 0,
      ),
      'draft' => array(
        'type' => 'int',
        'size' => 'tiny',
        'unsigned' => TRUE,
        'default' => 0,
      ),
      'created' => array(
        'type' => 'datetime',
        'not null' => TRUE,
        'default' => 0,
      ),
      'updated' => array(
        'type' => 'datetime',
        'not null' => TRUE,
        'default' => 0,
      ),
    ),
    'primary key' => array('msgid'),
    'indexes' => array(
      'mbox_id' => array('mbox_id'),
    ),
  );
}
All Data Structures Files Functions Variables Enumerations