DMail Milestone 1.0
Drupal Mail Client
dmail_headers_table.schema
Go to the documentation of this file.
00001 <?php
00002 function dmail_headers_table() {
00003   return array(
00004     'fields' => array(
00005       'msgid' => array(
00006         'type' => 'char',
00007         'length' => 64,
00008         'description' => 'The md5 of the message_id.',
00009         'not null' => TRUE,
00010       ),
00011       'created' => array(
00012         'type' => 'datetime',
00013         'not null' => TRUE,
00014         'default' => 0,
00015       ),
00016       'subject' => array(
00017         'type' => 'varchar',
00018         'length' => 1024,
00019       ),
00020       're' => array(
00021         'type' => 'int',
00022         'size' => 'tiny',
00023         'default' => 0,
00024         'not null' => TRUE,
00025         'unsigned' => TRUE,
00026       ),
00027       'from' => array(
00028         'type' => 'varchar',
00029         'length' => 1024,
00030       ),
00031       'to' => array(
00032         'type' => 'varchar',
00033         'length' => 1024,
00034       ),
00035       'date' => array(
00036         'type' => 'datetime',
00037         'not null' => TRUE,
00038         'default' => 0,
00039       ),
00040       'message_id' => array(
00041         'type' => 'varchar',
00042         'length' => 255,
00043         'not null' => TRUE,
00044         'default' => '',
00045       ),
00046       'size' => array(
00047         'type' => 'int',
00048         'size' => 'big',
00049         'unsigned' => TRUE,
00050         'default' => 0,
00051       ),
00052     ),
00053     'primary key' => array('msgid'),
00054     'indexes' => array(
00055       'msgno' => array('msgno'),
00056       'uid' => array('uid'),
00057       'date' => array('date'),
00058     ),
00059   );
00060 }
All Data Structures Files Functions Variables Enumerations