diff -r fcf75e232c5b -r 0ff3ba646492 web/drupal/modules/trigger/trigger.install --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/drupal/modules/trigger/trigger.install Fri Aug 21 16:26:26 2009 +0000 @@ -0,0 +1,63 @@ + 'Maps trigger to hook and operation assignments from trigger.module.', + 'fields' => array( + 'hook' => array( + 'type' => 'varchar', + 'length' => 32, + 'not null' => TRUE, + 'default' => '', + 'description' => 'Primary Key: The name of the internal Drupal hook upon which an action is firing; for example, nodeapi.', + ), + 'op' => array( + 'type' => 'varchar', + 'length' => 32, + 'not null' => TRUE, + 'default' => '', + 'description' => 'Primary Key: The specific operation of the hook upon which an action is firing: for example, presave.', + ), + 'aid' => array( + 'type' => 'varchar', + 'length' => 255, + 'not null' => TRUE, + 'default' => '', + 'description' => "Primary Key: Action's {actions}.aid.", + ), + 'weight' => array( + 'type' => 'int', + 'not null' => TRUE, + 'default' => 0, + 'description' => 'The weight of the trigger assignment in relation to other triggers.', + ), + ), + 'primary key' => array('hook', 'op', 'aid'), + ); + return $schema; +} + +