diff options
Diffstat (limited to 'modules/trigger/trigger.install')
-rw-r--r-- | modules/trigger/trigger.install | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/modules/trigger/trigger.install b/modules/trigger/trigger.install index ac3ef3c47..9a172a2a0 100644 --- a/modules/trigger/trigger.install +++ b/modules/trigger/trigger.install @@ -14,7 +14,7 @@ function trigger_schema() { 'fields' => array( 'hook' => array( 'type' => 'varchar', - 'length' => 128, + 'length' => 32, 'not null' => TRUE, 'default' => '', 'description' => 'Primary Key: The name of the internal Drupal hook; for example, node_insert.', @@ -68,11 +68,3 @@ function trigger_update_7000() { } db_drop_field('trigger_assignments', 'op'); } - -/** - * Implements hook_update_N(). - */ -function trigger_update_7001() { - db_drop_primary_key('trigger_assignments'); - db_change_field('trigger_assignments', 'hook', 'hook', array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => '', 'description' => 'Primary Key: The name of the internal Drupal hook; for example, node_insert.', ), array('primary key' => array('hook', 'aid'))); -} |