'The base table for the Emails entity', 'fields' => array( 'id' => array( 'description' => 'Primary key of the Emails entity', 'type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE, ), 'order' => array( 'description' => 'Order id', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, ), 'start' => array( 'description' => 'Date to Start', 'type' => 'datetime', 'mysql_type' => 'datetime', 'default' => NULL ), 'end' => array( 'description' => 'Date to End', 'type' => 'datetime', 'mysql_type' => 'datetime', 'default' => NULL ), 'status' => array( 'description' => 'Emails Status', 'type' => 'varchar', 'length' => 255, 'not null' => FALSE, ), ), 'primary key' => array('id'), ); return $schema; }