DMail Milestone 1.0
Drupal Mail Client
dmail_headers_by_mbox_table.schema
Go to the documentation of this file.
00001 <?php
00002 function dmail_headers_by_mbox_table() {
00003   return array(
00004     'fields' => array(
00005       'msgid' => array(
00006         'type' => 'char',
00007         'length' => 64,
00008         'description' => 'The md5 of the from and the md5 of the message_id.',
00009         'not null' => TRUE,
00010       ),
00011       'mbox_id' => array(
00012         'type' => 'int',
00013         'size' => 'big',
00014         'unsigned' => TRUE,
00015         'not null' => TRUE,
00016         'default' => 0,
00017       ),
00018       'uid' => array(
00019         'type' => 'int',
00020         'size' => 'big',
00021         'unsigned' => TRUE,
00022         'default' => 0,
00023       ),
00024       'msgno' => array(
00025         'type' => 'int',
00026         'size' => 'big',
00027         'unsigned' => TRUE,
00028         'default' => 0,
00029       ),
00030       'recent' => array(
00031         'type' => 'int',
00032         'size' => 'tiny',
00033         'unsigned' => TRUE,
00034         'default' => 0,
00035       ),
00036       'flagged' => array(
00037         'type' => 'int',
00038         'size' => 'tiny',
00039         'unsigned' => TRUE,
00040         'default' => 0,
00041       ),
00042       'answered' => array(
00043         'type' => 'int',
00044         'size' => 'tiny',
00045         'unsigned' => TRUE,
00046         'default' => 0,
00047       ),
00048       'deleted' => array(
00049         'type' => 'int',
00050         'size' => 'tiny',
00051         'unsigned' => TRUE,
00052         'default' => 0,
00053       ),
00054       'seen' => array(
00055         'type' => 'int',
00056         'size' => 'tiny',
00057         'unsigned' => TRUE,
00058         'default' => 0,
00059       ),
00060       'draft' => array(
00061         'type' => 'int',
00062         'size' => 'tiny',
00063         'unsigned' => TRUE,
00064         'default' => 0,
00065       ),
00066       'created' => array(
00067         'type' => 'datetime',
00068         'not null' => TRUE,
00069         'default' => 0,
00070       ),
00071       'updated' => array(
00072         'type' => 'datetime',
00073         'not null' => TRUE,
00074         'default' => 0,
00075       ),
00076     ),
00077     'primary key' => array('msgid'),
00078     'indexes' => array(
00079       'mbox_id' => array('mbox_id'),
00080     ),
00081   );
00082 }
All Data Structures Files Functions Variables Enumerations