'Stores reroute rules for advanced_mail_reroute module.', 'fields' => array( 'mailkey' => array( 'type' => 'varchar', 'length' => 255, 'not null' => TRUE ), 'reroute_rule' => array( 'type' => 'int', 'size' => 'tiny', 'not null' => TRUE ), 'email' => array( 'type' => 'text', 'not null' => TRUE ) ), 'primary key' => array('mailkey'), 'indexes' => array( 'mailkey' => array('mailkey') ) ); $schema['advanced_mail_reroute_log'] = array( 'description' => 'Stores logs of activity recorded by advanced_mail_reroute module.', 'fields' => array( 'id' => array( 'type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE ), 'timestamp' => array( 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE ), 'mailkey' => array( 'type' => 'text', 'not null' => TRUE ), 'from_email' => array( 'type' => 'text', 'not null' => TRUE ), 'to_email' => array( 'type' => 'text', 'not null' => TRUE ), 'reroute_rule' => array( 'type' => 'int', 'size' => 'tiny', 'not null' => TRUE ), 'reroute_email' => array( 'type' => 'text', 'not null' => TRUE ) ), 'primary key' => array('id') ); return $schema; }