DMail Milestone 1.0
Drupal Mail Client
dmail_headers_table.schema File Reference

Go to the source code of this file.

Functions

 dmail_headers_table ()

Function Documentation

dmail_headers_table ( )

Definition at line 2 of file dmail_headers_table.schema.

Referenced by dmail_schema_0().

                               {
  return array(
    'fields' => array(
      'msgid' => array(
        'type' => 'char',
        'length' => 64,
        'description' => 'The md5 of the message_id.',
        'not null' => TRUE,
      ),
      'created' => array(
        'type' => 'datetime',
        'not null' => TRUE,
        'default' => 0,
      ),
      'subject' => array(
        'type' => 'varchar',
        'length' => 1024,
      ),
      're' => array(
        'type' => 'int',
        'size' => 'tiny',
        'default' => 0,
        'not null' => TRUE,
        'unsigned' => TRUE,
      ),
      'from' => array(
        'type' => 'varchar',
        'length' => 1024,
      ),
      'to' => array(
        'type' => 'varchar',
        'length' => 1024,
      ),
      'date' => array(
        'type' => 'datetime',
        'not null' => TRUE,
        'default' => 0,
      ),
      'message_id' => array(
        'type' => 'varchar',
        'length' => 255,
        'not null' => TRUE,
        'default' => '',
      ),
      'size' => array(
        'type' => 'int',
        'size' => 'big',
        'unsigned' => TRUE,
        'default' => 0,
      ),
    ),
    'primary key' => array('msgid'),
    'indexes' => array(
      'msgno' => array('msgno'),
      'uid' => array('uid'),
      'date' => array('date'),
    ),
  );
}
All Data Structures Files Functions Variables Enumerations