type); } } /** * Implementation of hook_schema(). */ function content_distribution_schema() { $schema['content_distribution'] = array( 'description' => t('Stores node information on nodes set up for content distribution'), 'fields' => array( 'nid' => array( 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'description' => t("The distributed node's {node}.nid."), ), 'published_date' => array( 'type' => 'int', 'not null' => TRUE, 'default' => 0, 'description' => t("The Unix timestamp the distributed node was published."), ), ), 'primary key' => array('nid'), ); return $schema; }