Index: includes/common.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/common.inc,v retrieving revision 1.756 diff -u -r1.756 common.inc --- includes/common.inc 30 Jan 2008 23:07:41 -0000 1.756 +++ includes/common.inc 12 Feb 2008 03:30:16 -0000 @@ -2443,6 +2443,7 @@ require_once './includes/form.inc'; require_once './includes/mail.inc'; require_once './includes/actions.inc'; + require_once './includes/pipes.inc'; // Set the Drupal custom error handler. set_error_handler('drupal_error_handler'); // Emit the correct charset HTTP header. Index: modules/system/system.install =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.install,v retrieving revision 1.238 diff -u -r1.238 system.install --- modules/system/system.install 30 Jan 2008 20:30:35 -0000 1.238 +++ modules/system/system.install 12 Feb 2008 03:28:46 -0000 @@ -946,6 +946,111 @@ 'primary key' => array('mlid'), ); + $schema['pipes_step_data'] = array( + 'description' => t('Stores step information.'), + 'fields' => array( + 'sid' => array( + 'type' => 'serial', + 'unsigned' => TRUE, + 'not null' => TRUE, + 'description' => t('Primary Key: Unique term ID.'), + ), + 'pid' => array( + 'type' => 'int', + 'unsigned' => TRUE, + 'not null' => TRUE, + 'default' => 0, + 'description' => t('The {pipes}.pid of the pipe to which the step is assigned.'), + ), + 'class' => array( + 'type' => 'varchar', + 'length' => 255, + 'not null' => TRUE, + 'default' => '', + 'description' => t('The step class (the function name).'), + ), + 'settings' => array( + 'type' => 'text', + 'size' => 'big', + 'not null' => TRUE, + 'description' => t('Serialized array of any settings that have been set for this step (not including hierarchical settings).'), + ), + 'weight' => array( + 'type' => 'int', + 'not null' => TRUE, + 'default' => 0, + 'size' => 'tiny', + 'description' => t('The saved weight of this step in relation to other steps. Lighter steps are fired first.'), + ), + ), + 'primary key' => array('sid'), + 'indexes' => array('pid' => array('pid')), + ); + + $schema['pipes_step_hierarchy'] = array( + 'description' => t('Stores the hierarchical relationship between steps.'), + 'fields' => array( + 'rid' => array( + 'type' => 'serial', + 'unsigned' => TRUE, + 'not null' => TRUE, + 'description' => t('Primary Key: Unique relationship ID.'), + ), + 'sid' => array( + 'type' => 'int', + 'unsigned' => TRUE, + 'not null' => TRUE, + 'default' => 0, + 'description' => t('The {pipes_step_data}.sid of the step.'), + ), + 'destination' => array( + 'type' => 'int', + 'unsigned' => TRUE, + 'default' => 0, + 'description' => t("The {pipes_step_data}.sid of the step's destination (where it's output goes). NULL indicates that the step's output goes to root. Steps without output are not listed."), + ), + 'param_id' => array( + 'type' => 'int', + 'not null' => TRUE, + 'default' => 0, + 'size' => 'tiny', + 'description' => t('The number of the parameter that this step\'s output needs to go to.'), + ), + ), + 'indexes' => array( + 'destination' => array('destination'), + ), + 'unique keys' => array('sid_destination_param_id' => array('sid', 'destination', 'param_id')), + 'primary key' => array('rid'), + ); + + $schema['pipes'] = array( + 'description' => t('Stores pipe information.'), + 'fields' => array( + 'pid' => array( + 'type' => 'serial', + 'unsigned' => TRUE, + 'not null' => TRUE, + 'description' => t('Primary Key: Unique pipe ID.'), + ), + 'name' => array( + 'type' => 'varchar', + 'length' => 255, + 'not null' => TRUE, + 'default' => '', + 'description' => t('Name of the pipe.'), + ), + 'module' => array( + 'type' => 'varchar', + 'length' => 255, + 'not null' => TRUE, + 'default' => '', + 'description' => t('The module which created and manages the pipe.'), + ), + ), + 'primary key' => array('pid'), + ); + $schema['sessions'] = array( 'description' => t("Drupal's session handlers read and write into the sessions table. Each record represents a user session, either anonymous or authenticated."), 'fields' => array(